[wp-trac] [WordPress Trac] #42530: Unexpected focus lost when switching editor tabs

WordPress Trac noreply at wordpress.org
Wed Nov 15 15:07:52 UTC 2017


#42530: Unexpected focus lost when switching editor tabs
-------------------------------------+-------------------------------------
 Reporter:  ocean90                  |       Owner:  pento
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  4.9
Component:  Editor                   |     Version:  4.9
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch dev-reviewed   |     Focuses:  accessibility,
  commit                             |  administration
-------------------------------------+-------------------------------------
Changes (by afercia):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 The fix above doesn't seem to work properly, and it behaves inconsistently
 across browsers. To reproduce:

 - Uncheck "Enable full-height editor and distraction-free functionality."
 in the Screen options
 - using Chrome, edit a long post starting in the "Visual mode"
 - select a word that occurs at about the middle of the post content:

 [[Image(https://cldup.com/tPgw-6wpIk.png)]]

 - switch to "Text mode": no scrolling happens and the selected word stays
 out of view:

 [[Image(https://cldup.com/XovMqyzv1V.png)]]

 - switch back to "Visual mode"
 - the selected word is almost completely hidden at the top of the content
 visible area:

 [[Image(https://cldup.com/gitpyBHrYM.png)]]

 Using Firefox instead, it behaves a bit better: at least the selected word
 is visible when switching from VIsual to text:

 [[Image(https://cldup.com/x4UiZEBviz.png)]]

 Reopening for visibility. See also #42553.

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


More information about the wp-trac mailing list