Skip to content

Commit d695867

Browse files
committed
tweak
1 parent 83fc0b1 commit d695867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export type FlexibleConnectedPositionStrategyOrigin =
4141
height?: number;
4242
});
4343

44-
/** Refinment of `DOMRect` when only width/height and position (l, r, t, b) are needed. */
44+
/** Refinement of `DOMRect` when only width/height and position (l, r, t, b) are needed. */
4545
type Rect = Omit<DOMRect, 'x' | 'y' | 'toJSON'>;
4646

4747
/** Further refinement of above for when only the dimensions are needed. */
@@ -881,7 +881,7 @@ export class FlexibleConnectedPositionStrategy implements PositionStrategy {
881881
if (this._hasExactPosition()) {
882882
styles.top = styles.left = '0';
883883
styles.bottom = styles.right = styles.maxHeight = styles.maxWidth = '';
884-
styles.width = styles.height = '100%';
884+
styles.width = styles.height = '10000px';
885885
} else {
886886
const maxHeight = this._overlayRef.getConfig().maxHeight;
887887
const maxWidth = this._overlayRef.getConfig().maxWidth;

0 commit comments

Comments
 (0)