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]轮播图点击切换的同时鼠标划入图片,轮播图迅速滚动多张图片 #4000

Open
Liting1 opened this issue Jul 19, 2022 · 4 comments
Assignees
Labels
Easy to solve Easy to solve problems, PR welcome 💡 Feature Request New feature or request PR welcome We need you to help us by sending a pull request :)

Comments

@Liting1
Copy link

Liting1 commented Jul 19, 2022

Component

Slider

Reproduction link

https://codepen.io/pen?editors=0010

Steps to reproduce

轮播图点击切换的同时鼠标划入图片,轮播图迅速滚动多张图片,
期望结果,切换的时候鼠标划入不会快速切换图片

@YunMeng99 YunMeng99 added the 💡 Feature Request New feature or request label Aug 10, 2023
@YSMJ1994
Copy link
Contributor

@Liting1 你的意思是滚动过程中,鼠标移入暂停滚动吗?

@YSMJ1994 YSMJ1994 assigned YSMJ1994 and unassigned youluna Oct 11, 2023
@Liting1
Copy link
Author

Liting1 commented Nov 13, 2023

@YSMJ1994 是的

@Liting1
Copy link
Author

Liting1 commented Nov 13, 2023

PC.-.mp4

@YSMJ1994

@YSMJ1994
Copy link
Contributor

经排查,是 arrow mouseleave 事件在 animating 过程中生效导致的,只要 animating 状态阻止 arrow mouseEnter 和 mouseLeave事件执行即可

@YSMJ1994 YSMJ1994 added PR welcome We need you to help us by sending a pull request :) Easy to solve Easy to solve problems, PR welcome labels Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy to solve Easy to solve problems, PR welcome 💡 Feature Request New feature or request PR welcome We need you to help us by sending a pull request :)
Projects
None yet
Development

No branches or pull requests

4 participants