We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf5ba00 commit 6ef4c8dCopy full SHA for 6ef4c8d
src/lib/sticky-header/sticky-header.ts
@@ -215,7 +215,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
215
// 'translate3d(0,0,0)' needs to be used to force Safari re-rendering the sticky element.
216
this.element.style.transform = 'translate3d(0px,0px,0px)';
217
218
- let stuckRight: any = this.upperScrollableContainer.getBoundingClientRect().right;
+ let stuckRight: number = this.upperScrollableContainer.getBoundingClientRect().right;
219
220
let stickyCss = {
221
position: 'fixed',
0 commit comments