File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,15 +56,15 @@ class ListItemCustom extends ListItem {
5656 @property ( )
5757 declare accessibleName ?: string ;
5858
59- async _onkeydown ( e : KeyboardEvent ) {
59+ _onkeydown ( e : KeyboardEvent ) {
6060 const isTab = isTabNext ( e ) || isTabPrevious ( e ) ;
6161 const isFocused = this . matches ( ":focus" ) ;
6262
6363 if ( ! isTab && ! isFocused && ! isF2 ( e ) && ! isF7 ( e ) ) {
6464 return ;
6565 }
6666
67- await super . _onkeydown ( e ) ;
67+ super . _onkeydown ( e ) ;
6868 }
6969
7070 _onkeyup ( e : KeyboardEvent ) {
Original file line number Diff line number Diff line change @@ -313,8 +313,8 @@ class TreeItemBase extends ListItem {
313313 this . fireDecoratorEvent ( "toggle" , { item : this } ) ;
314314 }
315315
316- async _onkeydown ( e : KeyboardEvent ) {
317- await super . _onkeydown ( e ) ;
316+ _onkeydown ( e : KeyboardEvent ) {
317+ super . _onkeydown ( e ) ;
318318
319319 if ( ! this . _fixed && this . showToggleButton && isRight ( e ) ) {
320320 if ( ! this . expanded ) {
You can’t perform that action at this time.
0 commit comments