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

getPopupContainer return document.documentElement will make a crash #131

Open
lyz810 opened this issue Dec 2, 2020 · 0 comments
Open

getPopupContainer return document.documentElement will make a crash #131

lyz810 opened this issue Dec 2, 2020 · 0 comments

Comments

@lyz810
Copy link

lyz810 commented Dec 2, 2020

getPopupContainer = () => document.documentElement let dom-align crash (Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.)
should add some protect?

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

1 participant