react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

Track Mark Rendered Incorrectly

Open steemcb-phorest opened this issue 2 years ago • 9 comments

Hi, it seems that when a track mark is rendered at the same value as the max value it will render at an incorrect position - to the left of the track end rather than at the end. See screenshot below where the track mark on the right should be rendering at the track end.

Screenshot 2022-05-06 at 10 29 42

Can be replicated by modifying the example snack listed in the README with the one below:

<SliderContainer caption="<Slider/> with track marks" sliderValue={[1]} trackMarks={[0, 7, 17]}> <Slider maximumValue={17} minimumValue={0} step={1} /> </SliderContainer>

steemcb-phorest avatar May 06 '22 09:05 steemcb-phorest

Same issue here

dantenol avatar May 17 '22 22:05 dantenol

I'm having same issue. Anyone resolved it?

Haider-Ali-7 avatar Jul 18 '22 07:07 Haider-Ali-7

same issue here

kumarutsav111 avatar Aug 03 '22 03:08 kumarutsav111

Same issue here, it is supposed to render at the very end but it does not.

Capture d’écran 2022-08-17 à 09 56 38

hugoh59 avatar Aug 17 '22 07:08 hugoh59

This is fixed in this PR: https://github.com/miblanchard/react-native-slider/pull/358

steemcb-phorest avatar Aug 17 '22 08:08 steemcb-phorest

it is still same

AzizKizgin avatar Mar 08 '23 13:03 AzizKizgin

@AzizKizgin - PR #358 had merge conflicts right now, but once those are resolved we can merge it.

miblanchard avatar Mar 12 '23 18:03 miblanchard

@AzizKizgin - PR #358 had merge conflicts right now, but once those are resolved we can merge it.

Still same, please fix or push new release

MattinNajafi avatar May 15 '23 19:05 MattinNajafi

image still renders incorrectly v2.6.0

bryanltobing avatar Jun 13 '24 08:06 bryanltobing