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.js CHANGED
@@ -614,9 +614,8 @@ const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement
614
614
  return; // Exit if it's an Autocomplete and it is focused
615
615
  }
616
616
  if (event.key === 'ArrowUp') {
617
- // check if the autocomplete is open
618
- const autocompleteList = currentCell.querySelector('.MuiAutocomplete-popper');
619
- if (autocompleteList) {
617
+ const popper = document.querySelector('.MuiPopper-root');
618
+ if (popper && getComputedStyle(popper).visibility === 'visible') {
620
619
  return;
621
620
  }
622
621
  }