@@ -3339,7 +3339,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
3339
3339
this . calculateGridSizes ( false ) ;
3340
3340
} ) ;
3341
3341
3342
- this . onDensityChanged . pipe ( destructor ) . subscribe ( ( ) => {
3342
+ this . densityChanged . pipe ( destructor ) . subscribe ( ( ) => {
3343
3343
this . crudService . endEdit ( false ) ;
3344
3344
this . summaryService . summaryHeight = 0 ;
3345
3345
this . notifyChanges ( true ) ;
@@ -5615,10 +5615,10 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
5615
5615
visibleColIndex = - 1 ;
5616
5616
}
5617
5617
// If the target row is pinned no need to scroll as well.
5618
- const shouldScrollVertically = this . navigation . shouldPerformVerticalScroll ( rowIndex , visibleColIndex ) ;
5618
+ const shouldScrollVertically = this . navigation . shouldPerformVerticalScroll ( rowIndex ) ;
5619
5619
const shouldScrollHorizontally = this . navigation . shouldPerformHorizontalScroll ( visibleColIndex , rowIndex ) ;
5620
5620
if ( shouldScrollVertically ) {
5621
- this . navigation . performVerticalScrollToCell ( rowIndex , visibleColIndex , ( ) => {
5621
+ this . navigation . performVerticalScrollToCell ( rowIndex , ( ) => {
5622
5622
if ( shouldScrollHorizontally ) {
5623
5623
this . navigation . performHorizontalScrollToCell ( visibleColIndex , ( ) =>
5624
5624
this . executeCallback ( rowIndex , visibleColIndex , cb ) ) ;
@@ -5629,7 +5629,7 @@ export abstract class IgxGridBaseDirective extends DisplayDensityBase implements
5629
5629
} else if ( shouldScrollHorizontally ) {
5630
5630
this . navigation . performHorizontalScrollToCell ( visibleColIndex , ( ) => {
5631
5631
if ( shouldScrollVertically ) {
5632
- this . navigation . performVerticalScrollToCell ( rowIndex , visibleColIndex , ( ) =>
5632
+ this . navigation . performVerticalScrollToCell ( rowIndex , ( ) =>
5633
5633
this . executeCallback ( rowIndex , visibleColIndex , cb ) ) ;
5634
5634
} else {
5635
5635
this . executeCallback ( rowIndex , visibleColIndex , cb ) ;
0 commit comments