GeekyAnts / GeekyAnts/NativeBase
Slider thumb moves faster than cursor/thinger when using a step
- 主要语言
- TypeScript
- 星标
- 20.4k
- 派生
- 2.4k
- PR 合并指标
- 30 天内没有已合并 PR
描述
### Description
When using a step with the slider, the thumb will move faster than the user's finger/cursor on mobile platforrms. It works fine on web.
### CodeSandbox/Snack link
https://snack.expo.dev/@zilhk/native-base-slider-step-issue
### Steps to reproduce
1. Go to provided snack link
2. Run snack on mobile phone
3. Place finger on thumb and slide to move it
=> the thumb will move faster than the finger
The slider is used like this:
```
```
### NativeBase Version
3.4.25
### Platform
- [X] Android
- [ ] CRA
- [X] Expo
- [X] iOS
- [ ] Next
### Other Platform
_No response_
### Additional Information
_No response_
贡献指南
调研方向
从链接的 Expo Snack 开始,在 Android 和 iOS 上使用 step={10} 复现 Slider 示例。拖动时比较 thumb 的位置与用户手指的位置;当 thumb 能在移动端正确跟随手指,且不破坏现有的 web 行为时,该 issue 即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native, typescript
- 领域
- mobile
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100