Support for composition events
See original GitHub issueSo far as I can tell, although jsx.d.ts
includes a definition for composition events such as onCompositionEnd
, they are not implemented.
Furthermore, while isComposing
is available through InputEvent
, it is not normalized between browsers so, for example, in Firefox there will be an input event where it is true
but there is not in Chrome. Without composition events it is not possible to work around this and, for example, only update search results once the current composition has been committed.
Test case:
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
CompositionEvent - Web APIs | MDN
Chrome Edge
CompositionEvent Full support. Chrome15. Toggle history Full support. Edge1...
CompositionEvent() constructor Full support. Chrome26. Toggle history Full support. Edge1...
data Full support. Chrome15. Toggle...
Read more >What is JavaScript's CompositionEvent? Please give ...
Composition Events provide a means for inputing text in a supplementary or alternate manner than by Keyboard Events, in order to allow the...
Read more >Understanding Composition Browser Events
First, let's take a look at the chain of events in the happy case. User presses the enter key to end the composition....
Read more >CompositionEvent - Dom
The DOM CompositionEvent represents events that occur due to the user ... In addition, support for the compositionupdate event was added in Gecko...
Read more >SyntheticEvent
Supported Events · Clipboard Events · Composition Events · Keyboard Events · Focus Events · Form Events · Generic Events · Mouse Events...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @birtles - I think this is actually a case sensitivity issue. My guess is that you’ll find this works:
Oh yes, you’re right. That does indeed work.