Skip to content

Commit

Permalink
Merge pull request #11142 from cetincakiroglu/table-fix
Browse files Browse the repository at this point in the history
Fixed #11134 - Table | Multiple frozen columns aligned on the right
  • Loading branch information
yigitfindikli committed Feb 7, 2022
2 parents da7f61b + 983b35f commit 8f1fc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2706,7 +2706,7 @@ export class FrozenColumn implements AfterViewInit {
let right = 0;
let next = this.el.nativeElement.nextElementSibling;
if (next) {
right = DomHandler.getOuterWidth(next) + parseFloat(next.style.right);
right = DomHandler.getOuterWidth(next) + (parseFloat(next.style.right) || 0);
}
this.el.nativeElement.style.right = right + 'px';
}
Expand Down

0 comments on commit 8f1fc84

Please sign in to comment.