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

WordPress Trac noreply at wordpress.org
Tue Nov 14 05:18:12 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
-------------------------------------+-------------------------------------
Changes (by pento):

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


Comment:

 In [changeset:"42175"]:
 {{{
 #!CommitTicketReference repository="" revision="42175"
 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.

 Fixes #42530.
 }}}

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


More information about the wp-trac mailing list