Unselect table rows using esc key or click outside (#1420)

* unselect table rows by esc or clickoutside of tablebody

* exclude action-bar

* exclude context-menu

* added enums, handled touch listener
This commit is contained in:
Matthew
2023-09-05 03:56:07 -04:00
committed by GitHub
parent 732b5a5ddf
commit 7bced2b49b
5 changed files with 59 additions and 14 deletions

View File

@ -59,7 +59,11 @@ export function ContextMenu({ selectedIds }: OwnProps) {
return null;
}
return (
<StyledContainerContextMenu ref={wrapperRef} position={position}>
<StyledContainerContextMenu
className="context-menu"
ref={wrapperRef}
position={position}
>
<StyledDropdownMenu>
<StyledDropdownMenuItemsContainer>
{contextMenuEntries}