Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix: latin input through Chinese IME #3477

Merged
merged 6 commits into from
Sep 25, 2019
Merged

Conversation

bwindels
Copy link
Contributor

on of the 2 changes (updating dom async from compositionend,
or ignoring keydown while composing) here has, while fixing chrome,
broken safari.

Don't do the async dom updating for safari if that was it.
@bwindels bwindels requested a review from a team September 25, 2019 13:01
// checking the event.isComposing flag just in case any browser out there
// emits events related to the composition after compositionend
// has been fired
return !!(this._isIMEComposing || event.isComposing);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you may need to check event.nativeEvent? I think React doesn't include it in their synthetic events today: facebook/react#13104

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

Successfully merging this pull request may close these issues.

CIDER: Choosing latin input in Chinese IME on OSX removes previous compositions
2 participants