tdesign-react
tdesign-react copied to clipboard
iframe元素内popup组件弹出位置不正确
Describe Framework
tdesign-react
Describe Environment
Add browser version here
在iframe内使用popup时,popup的attach属性设置iframe内元素时无效,总是放到最外层body下,导致弹出位置不正确。

Additional context Add any other context about the problem here.
刚好前不久朋友踩了个 iframe 的坑,了解了一些前因后果,已改成 nodeType 判断 https://juejin.cn/post/7050413117641064484
https://github.com/Tencent/tdesign-react/releases/tag/0.23.1 fixed