callstack / callstack/react-native-slider
Thumb and steps are not aligned
オープン
bug report
- 主要言語
- TypeScript
- スター
- 1.4k
- フォーク
- 295
- 平均マージ
- 5分
- マージ済み PR(30日)
- 1
説明
## Environment
"react-native": "^0.78.0",
"react": "18.3.1",
"@react-native-community/slider": "^4.5.6"
"expo": "^52.0.37",
on expo web
## Description
Slider thumb and steps seem to not have the same padding
- I fixed it by translateX of the stepMarker to : ((element.index - element.min) / (element.max - element.min) - 0.5) * 34 but it's not ideal
- I prefer the way the steps are positioned. It might be the opportunity to look at the padding of the steps inside the slider and add it as a prop ?
コントリビューションガイド
評価
この issue はまだ評価されていません。