vuetifyjs / vuetifyjs/vuetify

[Bug Report][3.10.9] VSlider thumb-label gets clipped/cut off by parent container boundaries

Open
#22,299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C: VSlider P: low T: enhancement
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
  1. Create a VCard component with VCardText
  2. Add a VSlider inside VCardText with thumb-label enabled
  3. Set the slider to any value (or drag it)
  4. Observe that the thumb-label displaying the value gets clipped at the top of the container
  5. 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
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.