[wp-trac] [WordPress Trac] #29606: Reorder images via drag and drop is not working in WP 4

WordPress Trac noreply at wordpress.org
Mon Nov 17 21:59:01 UTC 2014


#29606: Reorder images via drag and drop is not working in WP 4
--------------------------+------------------------------
 Reporter:  gsarig        |       Owner:  ericandrewlewis
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.0.1
Component:  Gallery       |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui
--------------------------+------------------------------

Comment (by earnjam):

 After a bunch of testing, this looks like a jQuery UI Sortable bug
 specific to the last element in a row using % widths and it only occurs at
 specific containing element widths. It's miscalculating the location and
 thinking the item is actually on the next row...probably due to some type
 of rounding up.

 I found lots of things that appeared to fix it, but ultimately each was
 specific to individual container sizes/column sizes.

 Did a JSFiddle to eliminate all the other CSS from the admin and still
 could easily replicate: http://jsfiddle.net/Ln9pzgra/

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


More information about the wp-trac mailing list