Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] slider快速拖动时value错误 #2085

Closed
jokeremmmmmmm opened this issue Sep 24, 2019 · 1 comment · Fixed by #3876
Closed

[Bug Report] slider快速拖动时value错误 #2085

jokeremmmmmmm opened this issue Sep 24, 2019 · 1 comment · Fixed by #3876
Labels

Comments

@jokeremmmmmmm
Copy link

jokeremmmmmmm commented Sep 24, 2019

设备

pc端开发者工具,iPhone6,iPhone11

VantWeapp 版本

1.0.0-beta.0

基础库版本

2.8.3

如果是 UI 问题,截图链接(多图回车分隔)

截图

截图

请提供核心代码片段链接

https://github.com/youzan/vant-weapp/tree/dev/example/pages/slider

描述问题

使用的是slider官方demo里的代码,所以核心代码链接贴了demo代码链接,测试了基础用法和步长均有此BUG

@jokeremmmmmmm jokeremmmmmmm changed the title [Bug Report] slider在开发者工具快速拖动时value错误 [Bug Report] slider快速拖动时value错误 Sep 24, 2019
@jokeremmmmmmm
Copy link
Author

BUG定位到是onTouchMove中getRect方法的then链式调用在onTouchEnd方法完成后仍在调用

rex-zsd pushed a commit to rex-zsd/vant-weapp that referenced this issue Dec 18, 2020
rex-zsd added a commit that referenced this issue Dec 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants