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

在点击 Slider 空白处时,期望 SliderButton 快速跳转后可以跟随鼠标一起移动 #2622

Open
1 task done
swnb opened this issue Apr 8, 2024 · 2 comments

Comments

@swnb
Copy link

swnb commented Apr 8, 2024

基本信息

点击 Slider 空白处,SliderButton 快速跳转后不能跟随鼠标一起移动,希望可以像 antd 一样可以直接跟随鼠标移动

现有案例

现在 antd 是实现了这个效果的,可以查看 antd 的 Slider 的 example https://ant.design/components/slider
而 arco 目前需要用户再点击一次 SliderButton 才可以拖拽移动

预期解决问题

点击 Slider 空白处后,SliderButton 快速跳转到鼠标点击的位子后,可以跟随鼠标一起做拖拽移动。
目前的已有的效果影响用户体验,需要用户再点击一次 SliderButton 才能移动拖拽

@swnb swnb changed the title 点击 Slider 空白处,SliderButton 快速跳转后可以跟随鼠标一起移动 在点击 Slider 空白处时,期望 SliderButton 快速跳转后可以跟随鼠标一起移动 Apr 8, 2024
@swnb
Copy link
Author

swnb commented Apr 8, 2024

我准备提供一个 pr

@swnb
Copy link
Author

swnb commented Apr 8, 2024

已经提交了一个 pr 实现了该功能

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