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滑块多节点滑动时, tooltip 闪烁 #48149

Closed
zystudios opened this issue Mar 28, 2024 · 5 comments · Fixed by #48536
Closed

slider滑块多节点滑动时, tooltip 闪烁 #48149

zystudios opened this issue Mar 28, 2024 · 5 comments · Fixed by #48536
Labels
🐛 Bug Ant Design Team had proved that this is a bug. unconfirmed

Comments

@zystudios
Copy link

Reproduction link

https://ant.design/components/slider-cn

Steps to reproduce

参看gif,两个滑动点,只要越过其中一个点,就出现了
example

What is expected?

不要闪烁

What is actually happening?

会有闪烁

Environment Info
antd 5.15.4
React 18
System windows 10
Browser chrome
@MadCcc MadCcc added the 🐛 Bug Ant Design Team had proved that this is a bug. label Apr 3, 2024
@yinhw0210
Copy link

我想我可以尝试解决一下这个问题,这个问题是rc-slider引起的,在rc-slider中,所有已添加句柄的z-index始终为1,我认为被拖动(激活状态下)句柄的z-index应该高于正常状态下的句柄的z-index值。 @MadCcc

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 12, 2024

PR welcome.

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 12, 2024

我想我可以尝试解决一下这个问题,这个问题是rc-slider引起的,在rc-slider中,所有已添加句柄的z-index始终为1,我认为被拖动(激活状态下)句柄的z-index应该高于正常状态下的句柄的z-index值。 @MadCcc

个人猜测不是这个原因,它是松手后的闪烁,并不是拖动中的状态。

@yinhw0210
Copy link

我想我可以尝试解决一下这个问题,这个问题是rc-slider引起的,在rc-slider中,所有已添加句柄的z-index始终为1,我认为被拖动(激活状态下)句柄的z-index应该高于正常状态下的句柄的z-index值。 @MadCcc

个人猜测不是这个原因,它是松手后的闪烁,并不是拖动中的状态。

我明白您的意思了 这个问题说的确实是松手后的闪烁 我再去尝试一下 然后我认为这个拖动中触发也算是一个需要得到解决的问题吧 还是说设计初就是这样考虑的

@yoyo837
Copy link
Contributor

yoyo837 commented Apr 12, 2024

我想我可以尝试解决一下这个问题,这个问题是rc-slider引起的,在rc-slider中,所有已添加句柄的z-index始终为1,我认为被拖动(激活状态下)句柄的z-index应该高于正常状态下的句柄的z-index值。 @MadCcc

个人猜测不是这个原因,它是松手后的闪烁,并不是拖动中的状态。

我明白您的意思了 这个问题说的确实是松手后的闪烁 我再去尝试一下 然后我认为这个拖动中触发也算是一个需要得到解决的问题吧 还是说设计初就是这样考虑的

算一个另外的小问题,可以尝试一并修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. unconfirmed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants