[wp-trac] [WordPress Trac] #28328: Focus on editing, while editing

WordPress Trac noreply at wordpress.org
Thu Aug 14 15:09:20 UTC 2014


#28328: Focus on editing, while editing
-------------------------+-------------------------------------------------
 Reporter:  markjaquith  |       Owner:
     Type:  task         |      Status:  new
  (blessed)              |   Milestone:  4.0
 Priority:  high         |     Version:
Component:  Editor       |  Resolution:
 Severity:  critical     |     Focuses:  ui, accessibility, javascript,
 Keywords:  has-patch    |  administration
  needs-testing          |
-------------------------+-------------------------------------------------

Comment (by stephdau):

 I'll document what I found about the last documented issue (sidebar
 position), since I'm having trouble dealing with the issue. Maybe someone
 else will have a clever trick. :)

 The reason the sidebar ends up badly positioned, when scrolling down
 (Chrome on OSX, in my case), is because when the scrolling stops, the
 browser triggers a lone event calculated as a scroll up by our code.
 Scrolling momentum effect, maybe?

 [[Image(Screen Shot 2014-08-14 at 11.01.56.png)]]

 That triggers L53 in attachment:28328.26.patch
 {{{
         353 } else if ( scrolledSide && windowPos < lastScrollPosition ) {
         354     scrolledSide = false;
         355        $postboxContainer.css( 'top', '' );
         356 }
 }}}

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


More information about the wp-trac mailing list