Skip to content

Commit bd01659

Browse files
committed
fix: address PR feedback
1 parent 7bf3f91 commit bd01659

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/cdk/overlay/overlay-ref.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export class OverlayRef implements PortalHost {
5656
this._updateStackingOrder();
5757
this.updateSize();
5858
this.updateDirection();
59-
this.updatePosition();
6059

6160
if (this._state.scrollStrategy) {
6261
this._state.scrollStrategy.enable();

src/cdk/overlay/position/connected-position-strategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class ConnectedPositionStrategy implements PositionStrategy {
147147
* allows one to re-align the panel without changing the orientation of the panel.
148148
*/
149149
recalculateLastPosition(): void {
150-
// If the overlay had never been positioned before, do nothing.
150+
// If the overlay has never been positioned before, do nothing.
151151
if (!this._lastConnectedPosition) {
152152
return;
153153
}

0 commit comments

Comments
 (0)