You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does nothing (before v2.4.1), or maybe a warning can be given.
What went wrong?
Stuck in infinite loop.
Any other comments?
I have checked and I think the code causing the problem is in these lines. When an unmounted element is given to getParentNode(el) it returns the root html. Then when html element is given to isHTMLElement(el) it will be false and cause infinite loop.
I used react-popper, and I think it's not uncommon to have popper element that suddenly gets unmounted.
Doesn't have the problem in v2.4.0.
The text was updated successfully, but these errors were encountered:
CodeSandbox demo
https://codesandbox.io/s/adoring-meadow-jq7i8
Steps to reproduce the problem
What is the expected behavior?
Does nothing (before v2.4.1), or maybe a warning can be given.
What went wrong?
Stuck in infinite loop.
Any other comments?
I have checked and I think the code causing the problem is in these lines. When an unmounted element is given to
getParentNode(el)
it returns the root html. Then when html element is given toisHTMLElement(el)
it will befalse
and cause infinite loop.I used react-popper, and I think it's not uncommon to have popper element that suddenly gets unmounted.
Doesn't have the problem in v2.4.0.
The text was updated successfully, but these errors were encountered: