[wp-trac] [WordPress Trac] #16955: It's tricky to drag metaboxes

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 6 00:42:37 UTC 2011


#16955: It's tricky to drag metaboxes
----------------------------+------------------------
 Reporter:  scribu          |       Owner:
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  3.1.2
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------------

Comment (by azaozz):

 I'm still at a loss here, cannot reproduce it neither in Chrome 10 nor in
 FF 4. Looking closer at the UI changeset discovered by JDTrower, that
 function resets the item.top and item.left on all sortables (postboxes) on
 the page, and with the change reverted it resets only the sortables in the
 current container.

 Looking at our postbox.js: it's pretty much a standard sortables
 implementation with the exception of
 {{{
 $('body').css({
     WebkitUserSelect: 'none',
     KhtmlUserSelect: 'none'
 });
 }}}
 that used to fix a bug in ui.sortables at the time (seems not needed now).

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


More information about the wp-trac mailing list