[wp-trac] [WordPress Trac] #19534: Scroll to top on Toolbar click

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 13 14:56:30 UTC 2011


#19534: Scroll to top on Toolbar click
-------------------------------------+------------------------------
 Reporter:  ericmann                 |       Owner:  ericmann
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Admin Bar                |     Version:  3.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by ericmann):

 * keywords:   => has-patch needs-testing


Comment:

 This patch adds a very basic scrollTop animation on a jQuery hook (the
 click event on the toolbar).  It also adds a smooth, non-jQuery animation
 to the onclick event of the toolbar.  Target ID filtering is used to
 eliminate capturing clicks on actual buttons/dropdowns in the toolbar as
 well.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19534#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list