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 @@ -184,7 +184,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
184
184
}
185
185
186
186
/** Reset element to its original CSS. */
187
- resetElement ( ) : void {
187
+ private _resetElementStyles ( ) : void {
188
188
this . element . classList . remove ( STICK_START_CLASS ) ;
189
189
extendObject ( this . element . style , this . _originalStyles ) ;
190
190
}
@@ -269,7 +269,7 @@ export class CdkStickyHeader implements OnDestroy, AfterViewInit {
269
269
( currentPosition < this . _stickyRegionTop ||
270
270
currentPosition > this . _stickyRegionBottomThreshold )
271
271
|| currentPosition >= this . _stickyRegionBottomThreshold ) {
272
- this . resetElement ( ) ;
272
+ this . _resetElementStyles ( ) ;
273
273
if ( currentPosition >= this . _stickyRegionBottomThreshold ) {
274
274
this . _unstuckElement ( ) ;
275
275
}
You can’t perform that action at this time.
0 commit comments