[wp-trac] [WordPress Trac] #45371: Add tag: Use `event.isComposing` to support input method editor (IME) converters

WordPress Trac noreply at wordpress.org
Sat Mar 9 14:47:23 UTC 2019


#45371: Add tag: Use `event.isComposing` to support input method editor (IME)
converters
-------------------------------------+----------------------------
 Reporter:  afercia                  |       Owner:  ryanshoover
     Type:  defect (bug)             |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.2
Component:  I18N                     |     Version:  4.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-refresh  |     Focuses:  accessibility
-------------------------------------+----------------------------

Comment (by afercia):

 I think the patch should be refreshed to use
 `event.originalEvent.isComposing`. Looking at the Gutenberg
 implementation, https://github.com/WordPress/gutenberg/pull/11908/files
 `onCompositionEnd` is used only to ensure the callback is triggered "for
 browsers that don't emit a final `input` event after composition."

 Also, the same should be done for the Quick Edit form in the Posts list.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45371#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list