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 94669e9 commit 135c8b6Copy full SHA for 135c8b6
src/lib/sticky-header/sticky-header.ts
@@ -216,7 +216,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
216
// 'translate3d(0,0,0)' needs to be used to force Safari re-rendering the sticky element.
217
this.element.style.transform = 'translate3d(0px,0px,0px)';
218
219
- let stuckRight: any = this.upperScrollableContainer.getBoundingClientRect().right;
+ let stuckRight: number = this.upperScrollableContainer.getBoundingClientRect().right;
220
221
let stickyCss = {
222
position: 'fixed',
0 commit comments