[wp-trac] [WordPress Trac] #32821: Customizer Menus: Difficulties when reordering menu items by Dragging and Dropping

WordPress Trac noreply at wordpress.org
Wed Jul 1 15:52:07 UTC 2015


#32821: Customizer Menus: Difficulties when reordering menu items by Dragging and
Dropping
------------------------------------+--------------------------------
 Reporter:  ahortin                 |       Owner:  adamsilverstein
     Type:  defect (bug)            |      Status:  reviewing
 Priority:  normal                  |   Milestone:  4.3
Component:  Customize               |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  ui, accessibility
------------------------------------+--------------------------------
Changes (by adamsilverstein):

 * keywords:  has-patch => has-patch dev-feedback
 * focuses:  ui => ui, accessibility


Comment:

 Found a better solution for this in [attachment:32821.2.diff]:

 * Added api.targetTolerance so we can add some margin of error when
 dragging items in the customizer where we have no margins between the
 sortable menu items
 * adjusts the calculation of the previous item bottom by 10 pixels, making
 dragging much easier (previously getting off by 1 px. would pop the menu
 back to the current position).

 Before: http://cl.ly/0s163F073t0F

 After:  http://cl.ly/0r3w421O2Q0w

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


More information about the wp-trac mailing list