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
Hi, my app is attempting to render components through portals to child windows (opened via window.open).
Directly I use @elastic/eui which uses react-focus-on (and other libraries that you maintain).
I have problems with onClickOutside not firing in my child windows.
Are you aware of any compatibility issues that would prevent react-focus-on from working with child windows?
I'm suspecting any hardcoded references to window/document global object such as:
Hi, my app is attempting to render components through portals to child windows (opened via
window.open
).Directly I use
@elastic/eui
which usesreact-focus-on
(and other libraries that you maintain).I have problems with
onClickOutside
not firing in my child windows.Are you aware of any compatibility issues that would prevent
react-focus-on
from working with child windows?I'm suspecting any hardcoded references to window/document global object such as:
react-focus-on/src/Effect.tsx
Lines 81 to 90 in 7a4752a
I'm attempting to modify dependent libraries in such way that they inherit current window from Window Provider, similar to https://github.com/microsoft/fluentui/tree/master/packages/react-window-provider
Would it be possible to modify the library in such way so it accepts different window object than the global one?
The text was updated successfully, but these errors were encountered: