@@ -135,7 +135,7 @@ export class MdSelect implements AfterContentInit, OnDestroy, OnInit, ControlVal
135
135
private _tabSubscription : Subscription ;
136
136
137
137
/** Subscription to global scrolled events while the select is open. */
138
- private _scrolledSubscription : Subscription ;
138
+ private _scrollSubscription : Subscription ;
139
139
140
140
/** Whether filling out the select is required in the form. */
141
141
private _required : boolean = false ;
@@ -366,7 +366,7 @@ export class MdSelect implements AfterContentInit, OnDestroy, OnInit, ControlVal
366
366
this . _calculateOverlayPosition ( ) ;
367
367
this . _placeholderState = this . _floatPlaceholderState ( ) ;
368
368
this . _panelOpen = true ;
369
- this . _scrolledSubscription = this . _scrollDispatcher . scrolled ( 0 , ( ) => {
369
+ this . _scrollSubscription = this . _scrollDispatcher . scrolled ( 0 , ( ) => {
370
370
this . overlayDir . overlayRef . updatePosition ( ) ;
371
371
} ) ;
372
372
}
@@ -380,9 +380,9 @@ export class MdSelect implements AfterContentInit, OnDestroy, OnInit, ControlVal
380
380
this . _placeholderState = '' ;
381
381
}
382
382
383
- if ( this . _scrolledSubscription ) {
384
- this . _scrolledSubscription . unsubscribe ( ) ;
385
- this . _scrolledSubscription = null ;
383
+ if ( this . _scrollSubscription ) {
384
+ this . _scrollSubscription . unsubscribe ( ) ;
385
+ this . _scrollSubscription = null ;
386
386
}
387
387
388
388
this . _focusHost ( ) ;
0 commit comments