[Bug Report][3.10.9] VSlider thumb-label gets clipped/cut off by parent container boundaries
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 41k
- Forks
- 7.1k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 11
Description
Environment
Vuetify Version: 3.10.9
Vue Version: 3.5.24
Steps to reproduce
- Create a VCard component with VCardText
- Add a VSlider inside VCardText with thumb-label enabled
- Set the slider to any value (or drag it)
- Observe that the thumb-label displaying the value gets clipped at the top of the container
- The issue occurs with any container (VCard, VContainer, div, etc.)
Expected Behavior
The thumb-label should be fully visible when displayed, with the container providing enough overflow space or the label positioning adjusted to prevent clipping at the edges of the container.
Actual Behavior
When using VSlider with show-thumb-label="always" or when dragging the slider, the thumb-label gets cut off/clipped at the top edge of its parent container. The label content is partially hidden, making it difficult to read the value.
Reproduction Link
https://play.vuetifyjs.com/#...
Other comments
This issue affects the usability of the slider component as users cannot fully see the value being selected.
The problem appears to be related to overflow handling or insufficient padding/margin at the top of the slider component to accommodate the thumb-label.
A potential fix might involve adjusting the component's internal spacing or overflow settings to ensure the thumb-label is always fully visible within reasonable container boundaries.
The issue persists regardless of the container type used (tested with VCard, VCardText, VContainer, and standard div elements).
Images
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Vuetify reproduction and the VSlider component using show-thumb-label="always" inside the listed container types. Compare the thumb-label position and overflow at the top edge while dragging and at fixed values. Done means the label remains fully visible without being clipped in the reported scenarios.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100