@@ -192,8 +192,8 @@ export class Menu<V> {
192192 /** Whether the menu should wrap its items. */
193193 readonly wrap = input ( true , { transform : booleanAttribute } ) ;
194194
195- /** The delay in seconds before the typeahead buffer is cleared. */
196- readonly typeaheadDelay = input < number > ( 0.5 ) ; // Picked arbitrarily.
195+ /** The delay in milliseconds before the typeahead buffer is cleared. */
196+ readonly typeaheadDelay = input < number > ( 500 ) ; // Picked arbitrarily.
197197
198198 /** Whether the menu is disabled. */
199199 readonly disabled = input ( false , { transform : booleanAttribute } ) ;
@@ -222,8 +222,8 @@ export class Menu<V> {
222222 /** A callback function triggered when a menu item is selected. */
223223 onSelect = output < V > ( ) ;
224224
225- /** The delay in seconds before expanding sub-menus on hover. */
226- readonly expansionDelay = input < number > ( 0.1 ) ; // Arbitrarily chosen.
225+ /** The delay in milliseconds before expanding sub-menus on hover. */
226+ readonly expansionDelay = input < number > ( 100 ) ; // Arbitrarily chosen.
227227
228228 constructor ( ) {
229229 this . _pattern = new MenuPattern ( {
@@ -344,8 +344,8 @@ export class MenuBar<V> {
344344 /** Whether the menu should wrap its items. */
345345 readonly wrap = input ( true , { transform : booleanAttribute } ) ;
346346
347- /** The delay in seconds before the typeahead buffer is cleared. */
348- readonly typeaheadDelay = input < number > ( 0.5 ) ;
347+ /** The delay in milliseconds before the typeahead buffer is cleared. */
348+ readonly typeaheadDelay = input < number > ( 500 ) ;
349349
350350 /** The menu ui pattern instance. */
351351 readonly _pattern : MenuBarPattern < V > ;
0 commit comments