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

Dialog组件嵌入Upload组件上传图片预览,ESC键退出预览会关闭Dialog组件 #2704

Closed
ls-v opened this issue Apr 11, 2023 · 2 comments
Labels
🙏🏻 help wanted Extra attention is needed

Comments

@ls-v
Copy link

ls-v commented Apr 11, 2023

tdesign-vue-next 版本

1.3.4

重现链接

https://stackblitz.com/edit/angular-3c4gze-nusl4k?file=package.json,src%2Fdemo.vue

重现步骤

点击按钮显示弹框
选择图片上传
点击上传组件预览图标
ESC键退出预览

期望结果

只关闭图片预览弹框

实际结果

图片预览弹框与Dialog组件弹框都关闭了

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@chaishi
Copy link
Collaborator

chaishi commented Nov 5, 2023

需要优化处理 ESC 键作用范围

@chaishi chaishi added the 🙏🏻 help wanted Extra attention is needed label Nov 5, 2023
@chaishi
Copy link
Collaborator

chaishi commented Nov 7, 2023

see #2928

@chaishi chaishi closed this as completed Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏🏻 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants