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 5ff2394 commit ea47c55Copy full SHA for ea47c55
src/lib/sticky-header/sticky-header.ts
@@ -172,7 +172,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
172
}
173
174
/** Measures the boundaries of the sticky regions to be used in subsequent positioning. */
175
- private _defineRestrictions(): void {
+ private _measureStickyRegionBounds(): void {
176
if (!this.stickyParent) {
177
return;
178
@@ -283,7 +283,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
283
284
285
defineRestrictionsAndStick(): void {
286
- this._defineRestrictions();
+ this._measureStickyRegionBounds();
287
this.sticker();
288
289
0 commit comments