File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
projects/igniteui-angular/src/lib Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,8 @@ export class IgxGridNavigationService {
171171 }
172172
173173 focusTbody ( event ) {
174- if ( ! this . activeNode || this . activeNode . row < 0 || this . activeNode . row > this . grid . dataView . length - 1 ) {
174+ const gridRows = this . grid . verticalScrollContainer . totalItemCount ?? this . grid . dataView . length ;
175+ if ( ! this . activeNode || this . activeNode . row < 0 || this . activeNode . row > gridRows - 1 ) {
175176 this . activeNode = { row : 0 , column : 0 } ;
176177 this . grid . navigateTo ( 0 , 0 , ( obj ) => {
177178 this . grid . clearCellSelection ( ) ;
Original file line number Diff line number Diff line change @@ -625,6 +625,8 @@ export class IgxSliderComponent implements
625625 } else {
626626 this . _value = value ;
627627 }
628+
629+ this . _onChangeCallback ( value ) ;
628630 }
629631
630632 /**
@@ -1351,6 +1353,8 @@ export class IgxSliderComponent implements
13511353 } else {
13521354 this . value = ( value as number ) - ( ( value as number ) % this . step ) ;
13531355 }
1356+
1357+ this . _cdr . detectChanges ( ) ;
13541358 }
13551359
13561360 private updateTrack ( ) {
@@ -1421,8 +1425,6 @@ export class IgxSliderComponent implements
14211425 this . upperValue = ( value as IRangeSliderValue ) . upper ;
14221426 this . lowerValue = ( value as IRangeSliderValue ) . lower ;
14231427 }
1424-
1425- this . _onChangeCallback ( this . value ) ;
14261428 }
14271429
14281430 private emitValueChanged ( oldValue : number | IRangeSliderValue ) {
You can’t perform that action at this time.
0 commit comments