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

popup提示隐藏时遮挡了其他组件,导致其他组件无法响应事件 #231

Closed
1 task done
partical opened this issue Jan 13, 2022 · 4 comments · Fixed by #245 or #246
Closed
1 task done

popup提示隐藏时遮挡了其他组件,导致其他组件无法响应事件 #231

partical opened this issue Jan 13, 2022 · 4 comments · Fixed by #245 or #246
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@partical
Copy link

Describe Framework

  • tdesign-react

Describe Environment

版本:0.22.1

Describe the bug
popup提示隐藏时,dom元素还存在,且z-index比较高,遮挡了底下的组件,导致组件无法响应事件
image

Additional context
Add any other context about the problem here.

@chaishi
Copy link
Collaborator

chaishi commented Jan 13, 2022

是一个问题

@uyarn
Copy link
Collaborator

uyarn commented Jan 13, 2022

可以先加个destroyOnClose处理一下

@honkinglin
Copy link
Collaborator

可以先加个destroyOnClose处理一下

还是得处理一下默认情况 display: none

@honkinglin honkinglin added the 🐞 bug Something isn't working label Jan 13, 2022
psaren added a commit to psaren/tdesign-react that referenced this issue Jan 15, 2022
honkinglin added a commit that referenced this issue Jan 15, 2022
@honkinglin honkinglin added the to be published fixed, not be published label Jan 15, 2022
uyarn pushed a commit that referenced this issue Jan 16, 2022
* fix(popup): 优化 destroy 动画 & 添加 display: none

fix #231

* feat: 优化细节
@uyarn uyarn reopened this Jan 16, 2022
@honkinglin
Copy link
Collaborator

uyarn pushed a commit that referenced this issue Apr 18, 2022
uyarn pushed a commit that referenced this issue Apr 18, 2022
uyarn pushed a commit that referenced this issue Apr 18, 2022
* fix(popup): 优化 destroy 动画 & 添加 display: none

fix #231

* feat: 优化细节
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
4 participants