[wp-trac] [WordPress Trac] #30528: Focus v2: edge cases pressing Escape
WordPress Trac
noreply at wordpress.org
Fri Nov 28 16:32:12 UTC 2014
#30528: Focus v2: edge cases pressing Escape
------------------------------------+------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: ui, javascript
------------------------------------+------------------------------
Comment (by adamsilverstein):
[attachment:30528.2.diff]
* fixes the escape fade out/fadein issue in firefox when pressing 'Escape'
or Alt-Shift-W to exit focus mode
* preserves the mouse friendly behaviour that fades things back out if you
move the mouse out of the editor, then refocus the editor within the next
second
* passes the event thru to fadeIn, and doesn't set up the onFocus watch if
event is defined (every other use), could be simpler (pass a boolean),
thinking future use
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30528#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list