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

WordPress Trac noreply at wordpress.org
Tue Nov 14 05:20:26 UTC 2017


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

Comment (by pento):

 In [changeset:"42176"]:
 {{{
 #!CommitTicketReference repository="" revision="42176"
 Editor: When switching Editor tabs, don't scroll unnecessarily.

 - When switching to the Text view, wait until after the Visual editor
 element has been hidden, before focussing the `<textarea>`.
 - When switching to the Visual view, only scroll if the cursor is not
 visible on the current screen.

 Merge of 52175 to the 4.9 branch.

 Fixes #42530.
 }}}

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


More information about the wp-trac mailing list