@kanunilabs/datagrid-react / useHideWithGrid
Function: useHideWithGrid()
useHideWithGrid(
ref,active?):void
Hide the element in ref while the grid that renders it is hidden by React. active: the layer is rendered
(an open popup). The element is captured at setup — React detaches refs when it hides a tree.
Parameters
ref
RefObject<HTMLElement | null>
active?
boolean = true
Returns
void