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 @@ -166,7 +166,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
166166 // the resized window. So we need to unstuck it then re-stick it.
167167 // unstuck() can set 'isStuck' to FALSE. Then _stickElement() can work.
168168 if ( this . isStuck ) {
169- this . _unstuckElement ( ) ;
169+ this . _unstickElement ( ) ;
170170 this . _stickElement ( ) ;
171171 }
172172 }
@@ -236,7 +236,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
236236 * This should be called when the element reaches the bottom of its cdkStickyRegion so that it
237237 * smoothly scrolls out of view as the next sticky-header moves in.
238238 */
239- private _unstuckElement ( ) : void {
239+ private _unstickElement ( ) : void {
240240 this . isStuck = false ;
241241
242242 if ( ! this . stickyParent ) {
@@ -272,7 +272,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
272272 || currentPosition >= this . _stickyRegionBottomThreshold ) {
273273 this . _resetElementStyles ( ) ;
274274 if ( currentPosition >= this . _stickyRegionBottomThreshold ) {
275- this . _unstuckElement ( ) ;
275+ this . _unstickElement ( ) ;
276276 }
277277 this . isStuck = false ; // stick when the element is within the sticky region
278278 } else if ( this . isStuck === false &&
You can’t perform that action at this time.
0 commit comments