Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent loosing focus after a char composition ended by Tab key. Fix #1341 #1349

Merged
merged 1 commit into from
Jan 7, 2017

Conversation

chabou
Copy link
Collaborator

@chabou chabou commented Jan 6, 2017

When a char composition ends with a Tab key, after a first onKeyDown_(e) call, another one occurs with a different keycode (192) but the same timestamp and same key (Tab).
This second onKeyDown_ event cause a blur and Term loose its focus.

Notice: A breakpoint in onTextInput_ prevent this second event. Race condition ?

@rauchg rauchg merged commit 1b6d925 into vercel:master Jan 7, 2017
@rauchg
Copy link
Member

rauchg commented Jan 7, 2017

Really appreciate your time debugging this @chabou

@chabou chabou deleted the prevent_double_onkeydown branch January 7, 2017 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants