@@ -158,8 +158,8 @@ export class MenuPattern<V> {
158158 /** Handles keyboard events for the menu. */
159159 keydownManager = computed ( ( ) => {
160160 return new KeyboardEventManager ( )
161- . on ( 'ArrowDown' , ( ) => this . next ( ) )
162- . on ( 'ArrowUp' , ( ) => this . prev ( ) )
161+ . on ( 'ArrowDown' , ( ) => this . next ( ) , { handleRepeat : true } )
162+ . on ( 'ArrowUp' , ( ) => this . prev ( ) , { handleRepeat : true } )
163163 . on ( 'Home' , ( ) => this . first ( ) )
164164 . on ( 'End' , ( ) => this . last ( ) )
165165 . on ( 'Enter' , ( ) => this . trigger ( ) )
@@ -485,8 +485,8 @@ export class MenuBarPattern<V> {
485485 /** Handles keyboard events for the menu. */
486486 keydownManager = computed ( ( ) => {
487487 return new KeyboardEventManager ( )
488- . on ( this . _nextKey , ( ) => this . next ( ) )
489- . on ( this . _previousKey , ( ) => this . prev ( ) )
488+ . on ( this . _nextKey , ( ) => this . next ( ) , { handleRepeat : true } )
489+ . on ( this . _previousKey , ( ) => this . prev ( ) , { handleRepeat : true } )
490490 . on ( 'End' , ( ) => this . listBehavior . last ( ) )
491491 . on ( 'Home' , ( ) => this . listBehavior . first ( ) )
492492 . on ( 'Enter' , ( ) => this . inputs . activeItem ( ) ?. open ( { first : true } ) )
0 commit comments