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

Japanese IME issue on iOS Safari, using Angular and ngx-quill #4523

Open
VitBazylchik opened this issue Dec 11, 2024 · 0 comments
Open

Japanese IME issue on iOS Safari, using Angular and ngx-quill #4523

VitBazylchik opened this issue Dec 11, 2024 · 0 comments

Comments

@VitBazylchik
Copy link

During using ngx-quill and Angular I've faced an issue with Japanese IME in iOS Safari. The solution was found in current library. In Composition class there is the compositionend event handler. Handler of this event is executed inside queueMicrotask function due to Webkit bug. But for iOS for unknown reasons (I guess, due to using manipulations with zone.js) there is still not enough time to wait for DOM changes. Changing queueMicrotask to zero setTimeout solves an issue.
My proposition is to make a change mentioned above.

Steps for Reproduction

  1. Open Quill example in iOS Safari https://github.com/killerCodeMonkey/ngx-quill-example
  2. Use Japanese language (I believe, any IME should reproduce it)
  3. Try to use IME on any editor there

Actual behavior: Text freezes, no value emitted outside. Impossible to delete inserted by IME text.

Platforms: iOS, Safari

Version: 2.0.3

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

No branches or pull requests

1 participant