@@ -312,7 +312,7 @@ export class KeyboardNavigationController extends KeyboardNavigationControllerCo
312312 if ( needUpdateFocus ) {
313313 const isScrollEvent = ! ! e ?. event ?. type ;
314314 const skipFocusEvent = e ?. virtualColumnsScrolling && isScrollEvent ;
315- this . _updateFocus ( true , skipFocusEvent , true ) ;
315+ this . _updateFocus ( true , skipFocusEvent ) ;
316316 }
317317 }
318318 }
@@ -1802,7 +1802,7 @@ export class KeyboardNavigationController extends KeyboardNavigationControllerCo
18021802 }
18031803 }
18041804
1805- public _updateFocus ( isRenderView ?: boolean , skipFocusEvent = false , preventScroll = false ) {
1805+ public _updateFocus ( isRenderView ?: boolean , skipFocusEvent = false ) {
18061806 this . _updateFocusTimeout = setTimeout ( ( ) => {
18071807 if ( this . _needFocusEditingCell ( ) ) {
18081808 this . _editingController . _focusEditingCell ( ) ;
@@ -1841,12 +1841,12 @@ export class KeyboardNavigationController extends KeyboardNavigationControllerCo
18411841 ) ;
18421842 return ;
18431843 }
1844- ! isFocusedElementDefined && this . _focus ( $cell , false , skipFocusEvent , preventScroll ) ;
1844+ ! isFocusedElementDefined && this . _focus ( $cell , false , skipFocusEvent , ! ! isRenderView ) ;
18451845 } else if (
18461846 ! isFocusedElementDefined
18471847 && ( this . _isNeedFocus || this . _isHiddenFocus )
18481848 ) {
1849- this . _focus ( $cell , this . _isHiddenFocus , skipFocusEvent , preventScroll ) ;
1849+ this . _focus ( $cell , this . _isHiddenFocus , skipFocusEvent , ! ! isRenderView ) ;
18501850 }
18511851 if ( isEditing && ! column ?. showEditorAlways ) {
18521852 this . _focusInteractiveElement . bind ( this ) ( $cell ) ;
0 commit comments