You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 thecompositionend
event handler. Handler of this event is executed insidequeueMicrotask
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. ChangingqueueMicrotask
to zerosetTimeout
solves an issue.My proposition is to make a change mentioned above.
Steps for Reproduction
Actual behavior: Text freezes, no value emitted outside. Impossible to delete inserted by IME text.
Platforms: iOS, Safari
Version: 2.0.3
The text was updated successfully, but these errors were encountered: