Skip to content

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

@driskull

Description

@driskull

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions