-
Notifications
You must be signed in to change notification settings - Fork 249
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
Action tags don't work on web #1478
Comments
This is likely related to the IME and selector work. We should check this again after #1469 is merged. |
After spending some time on this I believe this needs to be fixed in Flutter. The problem is that both raw keyboard and IME are handling the DOM event, separately. The IME event subscription fires first and it invokes the text field input action regardless of whether the keyboard event has been handled by Flutter. Actually, because the event handler is registered on the text field DOM elementitself and not the window, it fires the input action even before the normal keyboard handling had chance to look at event, let alone mark it as handled. I'll try to put together a test case and report this. I'm wondering why the window keydown handler is not registered in capturing mode the prevent the event reaching the textfield if handled. |
@knopp do you know if this issue is now resolved, given the flutter issue was marked resolved? |
It is resolved. |
Reproducible with the example. Upon selection the document node does not change type, instead new line is inserted.
The text was updated successfully, but these errors were encountered: