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

Function isDom not working inside iframe #460

Open
anhducc13 opened this issue Aug 26, 2023 · 1 comment
Open

Function isDom not working inside iframe #460

anhducc13 opened this issue Aug 26, 2023 · 1 comment

Comments

@anhducc13
Copy link

anhducc13 commented Aug 26, 2023

When I use isDom(node) inside an iframe, it always returns false.
As a simple example (output in the console log): https://codesandbox.io/s/goofy-night-y5w6w9?file=/src/App.js

Version: rc-util: 5.29.3

Lib @rc-component/trigger Use this function and get wrong output with Tooltip, Popover, etc. in an iframe: https://github.com/react-component/trigger/blob/master/src/index.tsx#L235

@not-2-t
Copy link

not-2-t commented Aug 28, 2023

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants