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

AtSlider当step设为0.1时,滑动时显示有问题 #758

Open
chysa opened this issue Aug 22, 2019 · 5 comments
Open

AtSlider当step设为0.1时,滑动时显示有问题 #758

chysa opened this issue Aug 22, 2019 · 5 comments
Assignees
Labels
bug Something isn't working 表单组件

Comments

@chysa
Copy link

chysa commented Aug 22, 2019

问题描述
AtSlider当step设为0.1时,滑动时显示有问题,例如:会显示2.8000000000000003

复现步骤

image
image

// 这里可以贴代码

期望行为

期望能够显示2.8
报错信息

系统信息

补充信息

@taro-ui-bot
Copy link

taro-ui-bot bot commented Aug 22, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@koppthe
Copy link
Collaborator

koppthe commented Aug 22, 2019

是 H5 还是小程序环境?

@chysa
Copy link
Author

chysa commented Aug 22, 2019

是 H5 还是小程序环境?

H5环境

@ifanday
Copy link

ifanday commented Aug 29, 2019

@chysa 今天遇到了这个, 并且还有设置了 max 之后 滑块会抖动, 滑块 touchend 可能会跳到 0 去, 亲测官网也会 safari h5 默认 0 - 100 正常

@koppthe koppthe added bug Something isn't working 表单组件 labels Aug 30, 2019
@taro-ui-bot
Copy link

taro-ui-bot bot commented Aug 30, 2019

CC @jimczj

@koppthe koppthe self-assigned this Aug 30, 2019
@koppthe koppthe added this to To do in Taro UI Bugs Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 表单组件
Projects
Taro UI Bugs
  
To do
Development

No branches or pull requests

4 participants