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

Popconfirm在页面有滚动条并且位于边缘时会出现无限位置调整导致的一直抖动 #47969

Closed
xmh0511 opened this issue Mar 20, 2024 · 4 comments · Fixed by #48591
Labels
🐛 Bug Ant Design Team had proved that this is a bug.

Comments

@xmh0511
Copy link

xmh0511 commented Mar 20, 2024

Reproduction link

https://github.com/xmh0511/Popconfirm_reproduct

Steps to reproduce

有滚动条的情况下,将Popconfirm组件的弹出位置置于页面边缘,此时Popconfirm组件会无限计算位置导致出现一直闪烁

What is expected?

不会一直闪烁

What is actually happening?

一直闪烁

Environment Info
antd 5.15.3
React 18
System 所有
Browser chrome
2024-03-20.10.33.51.mov

视频展示bug复现步骤

@afc163
Copy link
Member

afc163 commented Mar 20, 2024

第三个同类问题了。@zombieJ

@MadCcc MadCcc added 🐛 Bug Ant Design Team had proved that this is a bug. and removed unconfirmed labels Mar 20, 2024
@MadCcc
Copy link
Member

MadCcc commented Mar 20, 2024

上周看类似问题的结论是当 arrow 放不下的时候就不让 popvoer 弹出了。但是看这个场景应该还是应该弹出。

@noynek
Copy link

noynek commented Apr 12, 2024

Running into the same issue. I'm finding the repro a bit inconsistent. It does seem to be related to scrollbars some of the time. I can also trigger it intermittently when resizing or zooming.

@lixin0724
Copy link

同样问题+1

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.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants