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] When the vslider is in a scrollable container and a label or tick is clicked@ Update: The value returned by modelValue is incorrect #20912

Closed
ITW1990 opened this issue Jan 23, 2025 · 1 comment
Assignees
Labels
C: VSlider T: bug Functionality that does not work as intended/expected
Milestone

Comments

@ITW1990
Copy link

ITW1990 commented Jan 23, 2025

Environment

Vuetify Version: 3.7.4
Vue Version: 3.4.31
Browsers: Chrome 132.0.0.0
OS: Windows

Steps to reproduce

When vslider is in a scrollable container, after initialization, the position of the scrollbar is pulled to the end. When clicking on the label or tick, the value of the model value is incorrect, and the position of the scrollbar is automatically returned to the starting position

Expected Behavior

Inside the movable container, click to return the correct value

Actual Behavior

In a scrollable container, scrolling to the end and selecting a tick will definitely return an incorrect value

Reproduction Link

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

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VSlider labels Jan 23, 2025
@KaelWD
Copy link
Member

KaelWD commented Jan 23, 2025

Not sure why you'd have an overflowing slider in the first place but ok.

@KaelWD KaelWD self-assigned this Jan 23, 2025
@KaelWD KaelWD added this to the v3.7.x milestone Jan 23, 2025
@KaelWD KaelWD closed this as completed in 5b4788b Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VSlider T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants