tdesign-react icon indicating copy to clipboard operation
tdesign-react copied to clipboard

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

Open partical opened this issue 4 years ago • 2 comments

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.

partical avatar Jan 04 '22 02:01 partical

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

honkinglin avatar Jan 15 '22 17:01 honkinglin

https://github.com/Tencent/tdesign-react/releases/tag/0.23.1 fixed

honkinglin avatar Jan 22 '22 11:01 honkinglin