@@ -17,11 +17,11 @@ import {
17
17
validateVerticalPosition ,
18
18
} from './connected-position' ;
19
19
import { Observable , Subscription , Subject } from 'rxjs' ;
20
- import { OverlayReference } from '../overlay-reference' ;
21
20
import { isElementScrolledOutsideView , isElementClippedByScrolling } from './scroll-clip' ;
22
21
import { coerceCssPixelValue , coerceArray } from '@angular/cdk/coercion' ;
23
22
import { Platform } from '@angular/cdk/platform' ;
24
23
import { OverlayContainer } from '../overlay-container' ;
24
+ import { OverlayRef } from '../overlay-ref' ;
25
25
26
26
// TODO: refactor clipping detection into a separate thing (part of scrolling module)
27
27
// TODO: doesn't handle both flexible width and height when it has to scroll along both axis.
@@ -53,7 +53,7 @@ type Dimensions = Omit<ClientRect, 'x' | 'y' | 'toJSON'>;
53
53
*/
54
54
export class FlexibleConnectedPositionStrategy implements PositionStrategy {
55
55
/** The overlay to which this strategy is attached. */
56
- private _overlayRef : OverlayReference ;
56
+ private _overlayRef : OverlayRef ;
57
57
58
58
/** Whether we're performing the very first positioning of the overlay. */
59
59
private _isInitialRender : boolean ;
@@ -155,7 +155,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
155
155
}
156
156
157
157
/** Attaches this position strategy to an overlay. */
158
- attach ( overlayRef : OverlayReference ) : void {
158
+ attach ( overlayRef : OverlayRef ) : void {
159
159
if (
160
160
this . _overlayRef &&
161
161
overlayRef !== this . _overlayRef &&
0 commit comments