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:
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user