Skip to content
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

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

Closed
SidIcarus opened this issue Sep 14, 2023 · 3 comments
Closed

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

SidIcarus opened this issue Sep 14, 2023 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@SidIcarus
Copy link

SidIcarus commented Sep 14, 2023

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.
@SidIcarus
Copy link
Author

SidIcarus commented Sep 18, 2023

I took a look at the storybook infinite-viewer example again and found that the issue also presents in there.

@daybrush daybrush added checking bug Something isn't working and removed checking labels Sep 19, 2023
@daybrush daybrush added this to the 0.51.2 milestone Sep 19, 2023
@daybrush
Copy link
Owner

@SidIcarus

moveable's new version is released. Check it again.

@SidIcarus
Copy link
Author

Looks good!
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants