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

Chrome does not fire insertFromComposition events #3303

Open
1 task
ianstormtaylor opened this issue Dec 12, 2019 · 0 comments
Open
1 task

Chrome does not fire insertFromComposition events #3303

ianstormtaylor opened this issue Dec 12, 2019 · 0 comments

Comments

@ianstormtaylor
Copy link
Owner

ianstormtaylor commented Dec 12, 2019

Chrome does not currently fire the proper beforeinput events when composing text. The Input Events Level 2 defines two events:

  • insertFromComposition
  • deleteByComposition

…which should be fired at the end of a composition to "commit" the results. And they should be cancellable. Chrome only fires the insertCompositionText and deleteCompositionText events which occur while the user is still in the process of composing, and are not cancelled (for good reason).

Here's the bug report (please star!):

Without these events it's very hard to handle multi-character compositions properly. Whereas in Safari they are handled extremely easily since it fires these events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant