Board improvements (#3694)

* New board improvements

* Improve board

* Fix
This commit is contained in:
Charles Bochet
2024-01-30 15:24:03 +01:00
committed by GitHub
parent 511627ccb8
commit f68de1a299
29 changed files with 205 additions and 54 deletions

View File

@ -94,7 +94,7 @@ export const Dropdown = ({
});
useScopedHotkeys(
Key.Escape,
[Key.Escape],
() => {
closeDropdown();
},

View File

@ -66,7 +66,10 @@ export const RightDrawer = () => {
useScopedHotkeys(
[Key.Escape],
() => closeRightDrawer(),
() => {
closeRightDrawer();
},
RightDrawerHotkeyScope.RightDrawer,
[setIsRightDrawerOpen],
);