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

[ImageViewer] 当开启 closeOnOverlay={true} 时,点击蒙层进行关闭,图片隐藏后会在快速闪一次,体验不佳。 #3328

Closed
zedwei2 opened this issue Jan 14, 2025 · 2 comments
Labels
improvement to be published fixed, not be published

Comments

@zedwei2
Copy link

zedwei2 commented Jan 14, 2025

tdesign-react 版本

18.2.0

重现链接

https://stackblitz.com/edit/d5digcr1?file=src%2Fdemo.tsx

重现步骤

ImageViewer组件中,当开启 closeOnOverlay={true} 时,点击蒙层进行关闭(可多次尝试测试效果)

期望结果

点击蒙层图片正常隐藏,不会多次触发关闭事件。

实际结果

图片隐藏后会在快速闪一次

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

16.15.1

补充说明

No response

Copy link
Contributor

👋 @zedwei2,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@uyarn
Copy link
Collaborator

uyarn commented Jan 16, 2025

fixed 1.10.5

@uyarn uyarn closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

3 participants