@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/package.json
CHANGED
package/src/components/Grid.tsx
CHANGED
|
@@ -252,7 +252,7 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
|
|
|
252
252
|
*/
|
|
253
253
|
useInterval(() => {
|
|
254
254
|
// If grid has become visible after previously being hidden, then refocus the last focused cell.
|
|
255
|
-
const visible = !!gridDivRef.current?.checkVisibility();
|
|
255
|
+
const visible = !!gridDivRef.current?.checkVisibility?.();
|
|
256
256
|
if (visible && !wasVisibleRef.current) {
|
|
257
257
|
wasVisibleRef.current = true;
|
|
258
258
|
const el = (window as any).__stepaggrid_lastfocuseventtarget;
|