Skip to content

Commit b57dd76

Browse files
Proposition for fixing help side panel overlapping debug modal
1 parent 2680290 commit b57dd76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/SidePanel/HelpModal/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ function Help({sidePanelTranslateX, closeSidePanel, shouldHideSidePanelBackdrop}
3535

3636
// Close Side Panel on escape key press
3737
useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.ESCAPE, () => closeSidePanel(), {isActive: !isExtraLargeScreenWidth, shouldBubble: false});
38+
useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.DEBUG, () => closeSidePanel(), {shouldBubble: true});
3839

3940
// Close Side Panel on small screens when navigation keyboard shortcuts are used
4041
useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.SEARCH, onCloseSidePanelOnSmallScreens, {shouldBubble: true});

0 commit comments

Comments
 (0)