[wp-trac] [WordPress Trac] #30528: Focus v2: edge cases pressing Escape
WordPress Trac
noreply at wordpress.org
Thu Nov 27 15:13:06 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 | Keywords:
Focuses: ui, javascript |
----------------------------+-----------------------------
Spotted 2 edge weird cases with Focus v2, both related with pressing
Escape, but seems they can't be reproduced in all browsers.
1. Chrome 39 (can't reproduce in Firefox)
- edit any post
- type something and let Focus kick in
- move your mouse out of sensible area or tab away from the editor
- faded things reappear
- now click on some empty area, for example the bottom of the left sidebar
- press Escape
- click inside the editor and type something
final result:
[[Image(https://cldup.com/62CrjzjWKZ.png)]]
2. Firefox 33 (can't reproduce in Chrome)
- edit any post
- type something and let Focus kick in
- with focus still inside the editor, press Escape just once
- `fadeIn()` runs and faded things reappear but suddenly `fadeOut()` runs
too and things fade again
- press Escape again: same fadeIn/fadeOut effect
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30528>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list