File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Pages/Shared/CommandBar Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ const CommandBarBackdrop = ({ handleClose }: CommandBarBackdropProps) => {
203
203
} , [ isLoading , recentActionsGroup ] )
204
204
205
205
useEffect ( ( ) => {
206
- const { keys } = SHORT_CUTS . OPEN_COMMAND_BAR
206
+ const { keys } = SHORT_CUTS . FOCUS_SEARCH_BAR
207
207
208
208
registerShortcut ( {
209
209
keys,
@@ -269,7 +269,7 @@ const CommandBarBackdrop = ({ handleClose }: CommandBarBackdropProps) => {
269
269
} )
270
270
}
271
271
272
- // Add this handler to prevent browser native scrolling
272
+ // To handle native scroll behavior
273
273
const handleListBoxKeyDown = ( e : React . KeyboardEvent < HTMLDivElement > ) => {
274
274
if ( e . key === 'ArrowUp' || e . key === 'ArrowDown' ) {
275
275
e . preventDefault ( )
You can’t perform that action at this time.
0 commit comments