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

Error when drag off the end of the slider #46

Closed
Shadercloud opened this issue Feb 21, 2022 · 1 comment
Closed

Error when drag off the end of the slider #46

Shadercloud opened this issue Feb 21, 2022 · 1 comment

Comments

@Shadercloud
Copy link

If you drag the handle off the end of the slider then mouse up you get error:

Uncaught TypeError: Cannot read properties of null (reading 'classList')
    at slider.js:1:37515
@Shadercloud
Copy link
Author

Nevermind, this was actually due to the slider being inside a modal, and when you dragged outside the modal it was causing the modal to close. (slider no longer existed in the DOM so error...)

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