@linzjs/step-ag-grid 32.1.0 → 32.1.1

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.
@@ -64058,8 +64058,13 @@ const BooleanCellRenderer = (props) => {
64058
64058
  return;
64059
64059
  }
64060
64060
  const cell = eGridCell?.querySelector('.ag-cell-focus .grid-edit-boolean input.ag-checkbox-input:not(:disabled)');
64061
- if (cell && cell.ownerDocument.activeElement !== cell) {
64062
- cell.focus();
64061
+ if (cell) {
64062
+ // When you redraw a cell the activeElement moves to the cell div away from input
64063
+ // Refocus here if the cell div is active back to the input
64064
+ const activeElement = cell.ownerDocument.activeElement;
64065
+ if (activeElement && activeElement.getAttribute('role') === 'gridcell' && activeElement !== cell) {
64066
+ cell.focus();
64067
+ }
64063
64068
  }
64064
64069
  });
64065
64070
  return (jsxRuntime.jsx("div", { className: clsx('grid-edit-boolean ag-wrapper ag-input-wrapper ag-checkbox-input-wrapper', {