[wp-trac] [WordPress Trac] #45371: Add tag: Use `event.isComposing` to support input method editor (IME) converters
WordPress Trac
noreply at wordpress.org
Tue Apr 16 18:28:35 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-testing | Focuses: accessibility
-------------------------------------+----------------------------
Comment (by ryanshoover):
@afercia It's an old trick I was taught to help catch undefined values.
Some browsers will throw an error if you just check `if ( window.tagBox )
{}` but will correctly evaluate to false on `if ( window.tagBox || false )
{}`.
I don't have the rationale at hand. Let me try to track it down.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45371#comment:31>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list