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 Report][3.7.4] VRangeSlider Maximum call stack size exceeded if min equals max #20726

Open
PhilippeTh opened this issue Nov 22, 2024 · 0 comments
Labels
C: VRangeSlider T: bug Functionality that does not work as intended/expected

Comments

@PhilippeTh
Copy link

Environment

Vuetify Version: 3.7.4
Last working version: 2.6.14
Vue Version: 3.5.13
Browsers: Google Chrome, Mozilla Firefox
OS: Windows

Steps to reproduce

Click anywhere to lose focus for the slider thumbs, then start trying to move the thumbs.

Additional info: Sometimes takes a couple of tries trying to move the thumbs before the error starts appearing, once it does it will keep appearing. Simply clicking on the thumb without moving it afterwards eventually stops triggering the errors but as soon as you try moving the thumb again the error will reappear.

Expected Behavior

Nothing happens because the start and end are the same so they just don't move.

Actual Behavior

In chrome it starts spamming Uncaught RangeError: Maximum call stack size exceeded.
In firefox it starts spamming TypeError: activeThumbRef.value is undefined

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

This is a frequent use-case in my application since the range slider displays the range of available forecast hours, and thus any weather layer with a single forecast will have a start and and of 0.

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VRangeSlider labels Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VRangeSlider T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants