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

iframe元素内popup组件弹出位置不正确 #153

Closed
partical opened this issue Jan 4, 2022 · 2 comments · Fixed by #246
Closed

iframe元素内popup组件弹出位置不正确 #153

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

Comments

@partical
Copy link

partical commented Jan 4, 2022

Describe Framework

tdesign-react

Describe Environment

Add browser version here

在iframe内使用popup时,popup的attach属性设置iframe内元素时无效,总是放到最外层body下,导致弹出位置不正确。
image

Additional context
Add any other context about the problem here.

@honkinglin
Copy link
Collaborator

刚好前不久朋友踩了个 iframe 的坑,了解了一些前因后果,已改成 nodeType 判断
https://juejin.cn/post/7050413117641064484

@honkinglin honkinglin self-assigned this Jan 15, 2022
@honkinglin honkinglin added the 🐞 bug Something isn't working label Jan 15, 2022
@uyarn uyarn reopened this Jan 16, 2022
@uyarn uyarn added the to be published fixed, not be published label Jan 16, 2022
@honkinglin
Copy link
Collaborator

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
3 participants