material-react-table-narender 2.13.8 → 2.13.9

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/index.esm.js CHANGED
@@ -523,9 +523,8 @@ const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement
523
523
  return; // Exit if it's an Autocomplete and it is focused
524
524
  }
525
525
  if (event.key === 'ArrowUp') {
526
- // check if the autocomplete is open
527
- const autocompleteList = currentCell.querySelector('.MuiAutocomplete-popper');
528
- if (autocompleteList) {
526
+ const popper = document.querySelector('.MuiPopper-root');
527
+ if (popper && getComputedStyle(popper).visibility === 'visible') {
529
528
  return;
530
529
  }
531
530
  }