Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

[bug] Sorting is not working on Firefox 137 when the chosen class contains overflow:hidden

Open driskull opened this issue 10 months ago • 2 comments

Describe the bug

Sorting is not working on Firefox 137 when the chosen class contains overflow:hidden.

To Reproduce Steps to reproduce the behavior:

Using Firefox 137: https://www.mozilla.org/en-US/firefox/137.0/releasenotes/

  1. Go to https://codepen.io/driskull/pen/YPzgeVW?editors=0110
  2. try to drag an item using the mouse over one of the drag handles
  3. Notice that dragging is not permitted
  4. Try on chrome and notice that it is working fine
  5. Remove the overflow:hidden on the sortable chosen class in the codepen html
  6. notice that it works now in Firefox 137

Expected behavior

A css style of overflow:hidden would not break usage

Information

This worked fine in Firefox 1.36 so it may be a Firefox regression. However, I'm unable to reproduce without using sortablejs

Versions - Look in your package.json for this information: sortablejs = ^1.15.6 @types/sortablejs = ^1.15.8

Additional context Firefox 137

Reproduction codesandbox: https://codepen.io/driskull/pen/YPzgeVW?editors=0110

driskull avatar Apr 07 '25 21:04 driskull

I opened a firefox bug for this as well. https://bugzilla.mozilla.org/show_bug.cgi?id=1959275

driskull avatar Apr 08 '25 23:04 driskull

I opened a firefox bug for this as well. bugzilla.mozilla.org/show_bug.cgi?id=1959275

This was fixed in Firefox 139. 🎉

jcfranco avatar Nov 03 '25 18:11 jcfranco