unselect all cards using esc key or click (#1393)

* unselect all cards using esc key or click

* useScopedHotKeys

* useListenClickByClassName

* rules are rules

* smoothing out || cursor-boxing-selection compliant

* replenished activeCardIds

* setRecoilState
This commit is contained in:
Matthew
2023-09-01 12:00:21 -04:00
committed by GitHub
parent f0674767c1
commit c3c5cb4d1f
6 changed files with 111 additions and 7 deletions

View File

@ -38,6 +38,7 @@ export function EntityBoardCard({
ref={draggableProvided?.innerRef}
{...draggableProvided?.dragHandleProps}
{...draggableProvided?.draggableProps}
className="entity-board-card"
data-selectable-id={cardId}
data-select-disable
onContextMenu={handleContextMenu}