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

设置allowCross, Range组件handle位置不能正确更新 #1020

Open
goodmanforweb opened this issue Aug 1, 2024 · 0 comments
Open

设置allowCross, Range组件handle位置不能正确更新 #1020

goodmanforweb opened this issue Aug 1, 2024 · 0 comments

Comments

@goodmanforweb
Copy link

goodmanforweb commented Aug 1, 2024

"name": "rc-slider",
"version": "9.7.5",
allowCross设置成的false

当拖动滑块上面的第一个handle到10, 第二个handle到20
image

然后点击设置value为[35, 65], 滑块并没有如期把两个handle设置到对应位置, 而是设置成了 [20, 65]这样的位置。
image

image image

代码这块有bug

@goodmanforweb goodmanforweb changed the title 设置allowCross, Range组件不能及时更新位置 设置allowCross, Range组件handle位置不能正确更新 Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant