Skip to content

Bug?: Uncaught RangeError when dragging outside of viewport #1015

@SidIcarus

Description

@SidIcarus

Environments

  • Framework name: Vanilla JS
  • Moveable Component version: 0.55.1
  • Testable Address

Description

When upgrading from 0.42.2 -> any after, I encountered an Uncaught RangeError: Maximum call stack size exceeded error upon dragging my elements out of the view/viewport.
I did migrate the moveable scroll properties over to using scrollOptions.

I looked over the changes made in the release after and I was unable to determine if the issue is on my usage of the library or not.

Note:

  • The codesandbox can end up freezing if you encounter the issue within the editor mode. If you open it in its own tab, it will not freeze.
  • You can switch the version of moveable back to 0.42.2 and see that it is working as intended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions