File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
185
185
}
186
186
187
187
/** Reset element to its original CSS. */
188
- resetElement ( ) : void {
188
+ private _resetElementStyles ( ) : void {
189
189
this . element . classList . remove ( STICK_START_CLASS ) ;
190
190
extendObject ( this . element . style , this . _originalStyles ) ;
191
191
}
@@ -270,7 +270,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
270
270
( currentPosition < this . _stickyRegionTop ||
271
271
currentPosition > this . _stickyRegionBottomThreshold )
272
272
|| currentPosition >= this . _stickyRegionBottomThreshold ) {
273
- this . resetElement ( ) ;
273
+ this . _resetElementStyles ( ) ;
274
274
if ( currentPosition >= this . _stickyRegionBottomThreshold ) {
275
275
this . _unstuckElement ( ) ;
276
276
}
You can’t perform that action at this time.
0 commit comments