Skip to content

Commit a9c70e7

Browse files
Added comment
1 parent b57dd76 commit a9c70e7

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+
// Close Side Panel on debug key press i.e. opening the TestTools modal
3839
useKeyboardShortcut(CONST.KEYBOARD_SHORTCUTS.DEBUG, () => closeSidePanel(), {shouldBubble: true});
3940

4041
// Close Side Panel on small screens when navigation keyboard shortcuts are used

0 commit comments

Comments
 (0)