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
We want to use react-table inside a popup window, however some of the hooks are using document to handle events and etc. Popup has a different window and document. In our components we are using node.ownerDocument instead as it will point to the correct document reference.
Can this be done in react-table e.g. adding ownerDocument prop to a hook?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We want to use
react-table
inside a popup window, however some of the hooks are usingdocument
to handle events and etc. Popup has a differentwindow
anddocument
. In our components we are usingnode.ownerDocument
instead as it will point to the correctdocument
reference.Can this be done in
react-table
e.g. addingownerDocument
prop to a hook?Beta Was this translation helpful? Give feedback.
All reactions