File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
165165 // the resized window. So we need to unstuck it then re-stick it.
166166 // unstuck() can set 'isStuck' to FALSE. Then _stickElement() can work.
167167 if ( this . isStuck ) {
168- this . _unstuckElement ( ) ;
168+ this . _unstickElement ( ) ;
169169 this . _stickElement ( ) ;
170170 }
171171 }
@@ -235,7 +235,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
235235 * This should be called when the element reaches the bottom of its cdkStickyRegion so that it
236236 * smoothly scrolls out of view as the next sticky-header moves in.
237237 */
238- private _unstuckElement ( ) : void {
238+ private _unstickElement ( ) : void {
239239 this . isStuck = false ;
240240
241241 if ( ! this . stickyParent ) {
@@ -271,7 +271,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
271271 || currentPosition >= this . _stickyRegionBottomThreshold ) {
272272 this . _resetElementStyles ( ) ;
273273 if ( currentPosition >= this . _stickyRegionBottomThreshold ) {
274- this . _unstuckElement ( ) ;
274+ this . _unstickElement ( ) ;
275275 }
276276 this . isStuck = false ; // stick when the element is within the sticky region
277277 } else if ( this . isStuck === false &&
You can’t perform that action at this time.
0 commit comments