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

[drawer] 抽屉drawer中使用图片预览组件image-viewer,按下esc键抽屉组件和预览组件会同时关闭 #2019

Closed
furylee opened this issue Jan 9, 2023 · 5 comments
Assignees
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@furylee
Copy link

furylee commented Jan 9, 2023

tdesign-vue 版本

1.0.3

重现链接

https://stackblitz.com/edit/angular-rsbqkd-wzypa2?file=src/demo.vue

重现步骤

在抽屉drawer中使用图片预览组件image-viewer,按下esc键抽屉组件和预览组件会同时关闭

期望结果

只关闭图片预览组件或者图片预览组件禁用键盘事件

实际结果

抽屉组件和预览组件会同时关闭

框架版本

2.6

浏览器版本

laster

系统版本

windows

Node版本

14.20.1

补充说明

No response

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2023

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

@furylee furylee changed the title [组件名称] 描述问题的标题 [drawer] 抽屉drawer中使用图片预览组件image-viewer,按下esc键抽屉组件和预览组件会同时关闭 Jan 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2023

♥️ 有劳 @chaishi @zhaodanchun @heyouquan @zhning12 @uyarn 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @furylee

@chaishi chaishi added the 🐞 bug Something isn't working label Jan 10, 2023
@furylee
Copy link
Author

furylee commented Apr 11, 2023

https://stackblitz.com/edit/angular-rsbqkd-wzypa2?file=package.json

当打开图片后,点击蒙层关闭有残影闪烁

@raohuiyong
Copy link

https://stackblitz.com/edit/angular-rsbqkd-wzypa2?file=package.json

当打开图片后,点击蒙层关闭有残影闪烁

@furylee 我也是,关闭时偶尔会抖动下

@uyarn uyarn added the to be published fixed, not be published label Dec 7, 2023
@uyarn
Copy link
Collaborator

uyarn commented Dec 7, 2023

fixed 1.8.1

@uyarn uyarn closed this as completed Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

4 participants