miblanchard / react-native-slider

A pure JavaScript <Slider> component for react-native and react-native-web
MIT License
374 stars 67 forks source link

Slider not filling entirely when thumb is bigger than slider #335

Open ThisIsntPatrick4312 opened 2 years ago

ThisIsntPatrick4312 commented 2 years ago

Hello,

How do I make it so the slider fills up all the way to the end (and the beginning) when the thumb is bigger than the slider?

This is what I have right now: image image

This is what I want to achieve: image

hirbod commented 2 years ago

I can also confirm this, Specially when working with a bigger thumbTouchSize

ThisIsntPatrick4312 commented 2 years ago

@hirbod have you found any solution?

hirbod commented 2 years ago

Not a real solution but a bit of an workaround (my slider has horizontal margins) and I am using smaller values while the slider is not being scrubbed which worked out for me

miblanchard commented 1 year ago

@hirbod anything in your workaround that would be worth pulling back into the package?