Vuetify: [Feature Request] v-slider thumb is tiny for mobile use.

Created on 20 Jun 2018  路  7Comments  路  Source: vuetifyjs/vuetify

Problem to solve

I can't drag the v-slider on mobile. The v-slider thumb is too small.

Proposed solution

Changing the size of the thumb for friendly UX on mobile. Like this thumb https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_rangeslider

VSlider bug

Most helpful comment

I asked him to open this. It's fine visually, but the touch target is so small it's almost impossible to use.

All 7 comments

The v-slider thumb slider was built to match Material Design 1 spec. The newer version has some style updates that we will be implementing in the future as part of our MD2 update. Because of that, this issue is not required as all components will be updated to match.

I asked him to open this. It's fine visually, but the touch target is so small it's almost impossible to use.

when is the update release coming , please?

How do I make the slider button larger?

i still need this feature.. are there any updates on this?

I'm stunned that an advanced framework like vuetify has a basic slider input almost unusable, and the issue open for years. The slider target is very hard to reach, and highly frustrating to use. I don't understand how people can use it in that state.

Quickly fixed this by enlarging the slider touch target through a none-destructive CSS addition.
Specifically, I added a :after (new pseudo element) and set it invisible. Now the slider is a joy to use (as the rest of the frame work) as it's easily manipulatable. The fix can be made simply by adding this to your general / default css file.

.v-slider__thumb:after { transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1); content: ''; color: inherit; width: 400%; height: 400%; border-radius: 50%; background: transparent; position: absolute; left: -150%; top: -150%; }

Of course vuetify is welcome to add this as well. @johnleider
Also, I would suggest modifying :before to make the touch effect adoptable to different v-slider__thumb sizes.

.v-slider__thumb:before { transition: 0.3s cubic-bezier(0.25, 0.8, 0.5, 1); content: ''; color: inherit; width: 200%; height: 200%; border-radius: 50%; background: currentColor; opacity: 0.3; position: absolute; left: -50%; top: -50%; transform: scale(0.1); pointer-events: none; }

Example: (green border to visualize new touch target)

Screenshot 2020-11-15 at 20 40 19

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gluons picture gluons  路  3Comments

alterhu2020 picture alterhu2020  路  3Comments

sebastianmacias picture sebastianmacias  路  3Comments

cawa-93 picture cawa-93  路  3Comments

Antway picture Antway  路  3Comments