@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
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "29.2.2",
5
+ "version": "29.2.3",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -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;