miblanchard / react-native-slider

A pure JavaScript <Slider> component for react-native and react-native-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Track Mark Rendered Incorrectly

steemcb-phorest opened this issue · 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>

Same issue here

I'm having same issue.
Anyone resolved it?

same issue here

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

This is fixed in this PR: #358

it is still same

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

@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