Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
driskull opened this issue Apr 7, 2025 · 1 comment

Comments

@driskull
Copy link
Contributor

driskull commented Apr 7, 2025

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 driskull changed the title [bug] Sorting is not working on Firefox 1.37 when the ghost class contains overflow:hidden. Apr 7, 2025
@driskull driskull changed the title Sorting is not working on Firefox 1.37 when the ghost class contains overflow:hidden. Sorting is not working on Firefox 1.37 when the ghost class contains overflow:hidden Apr 7, 2025
@driskull driskull changed the title Sorting is not working on Firefox 1.37 when the ghost class contains overflow:hidden [bug] Sorting is not working on Firefox 1.37 when the ghost class contains overflow:hidden Apr 7, 2025
@driskull driskull changed the title [bug] Sorting is not working on Firefox 1.37 when the ghost class contains overflow:hidden [bug] Sorting is not working on Firefox 137 when the ghost class contains overflow:hidden Apr 7, 2025
@driskull driskull changed the title [bug] Sorting is not working on Firefox 137 when the ghost class contains overflow:hidden [bug] Sorting is not working on Firefox 137 when the chosen class contains overflow:hidden Apr 7, 2025
@driskull
Copy link
Contributor Author

driskull commented Apr 8, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant