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
Fails when node is not inside the current window. The main use case is using one screen for presentation and another screen for information that the presenter see.
The issue is that the above code doesn't really work because you need to know if node is an Element first before getting the window, so we'll need a better idea for a fix.
a fix that I feel like is a hack:
return "nodeType" in node && node === Node.ELEMENT_NODE && "tagName" in node;
I don't know if this is good enough, but it works, fixes the bug.
Uh oh!
There was an error while loading. Please reload this page.
This code
util/src/Dom/findDOMNode.ts
Lines 3 to 7 in 2880228
Fails when node is not inside the current window. The main use case is using one screen for presentation and another screen for information that the presenter see.
an idea of a fix:
The issue is that the above code doesn't really work because you need to know if node is an Element first before getting the window, so we'll need a better idea for a fix.
a fix that I feel like is a hack:
I don't know if this is good enough, but it works, fixes the bug.
same thing also happens here
util/src/Dom/isVisible.ts
Line 6 in 2880228
The text was updated successfully, but these errors were encountered: