@linzjs/step-ag-grid 29.2.2 → 29.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/step-ag-grid.cjs
CHANGED
|
@@ -2839,7 +2839,7 @@ const Grid = ({ 'data-testid': dataTestId, defaultPostSort = true, rowSelection
|
|
|
2839
2839
|
*/
|
|
2840
2840
|
useInterval(() => {
|
|
2841
2841
|
// If grid has become visible after previously being hidden, then refocus the last focused cell.
|
|
2842
|
-
const visible = !!gridDivRef.current?.checkVisibility();
|
|
2842
|
+
const visible = !!gridDivRef.current?.checkVisibility?.();
|
|
2843
2843
|
if (visible && !wasVisibleRef.current) {
|
|
2844
2844
|
wasVisibleRef.current = true;
|
|
2845
2845
|
const el = window.__stepaggrid_lastfocuseventtarget;
|