-
Notifications
You must be signed in to change notification settings - Fork 6.8k
fix(global-position-strategy): ignoring width and height from OverlayConfig #9774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(global-position-strategy): ignoring width and height from OverlayConfig #9774
Conversation
@@ -86,14 +96,14 @@ export class GlobalPositionStrategy implements PositionStrategy { | |||
/** | |||
* Sets the overlay width and clears any previously set width. | |||
* @param value New width for the overlay | |||
* @deprecated Pass the `width` through the `OverlayConfig`. | |||
* @deletion-target 6.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will have to be 7.0; any deprecated API has to stick around for at least one full major release cycle before being removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
…Config * Switches to using the `width` and `height` from the `OverlayConfig`, rather than the properties on the `GlobalPositionStrategy`. * Deprecates the `GlobalPositionStrategy.width` and `GlobalPositionStrategy.height` methods in favor of passing the dimensions through the config. * Reworks the `GlobalPositionStrategy` testing setup to make it less prone to breaking if any of the `OverlayRef` internals change. Fixes angular#9715.
2d4c1d9
to
acd393a
Compare
…Config (#9774) * Switches to using the `width` and `height` from the `OverlayConfig`, rather than the properties on the `GlobalPositionStrategy`. * Deprecates the `GlobalPositionStrategy.width` and `GlobalPositionStrategy.height` methods in favor of passing the dimensions through the config. * Reworks the `GlobalPositionStrategy` testing setup to make it less prone to breaking if any of the `OverlayRef` internals change. Fixes #9715.
…Config (#9774) * Switches to using the `width` and `height` from the `OverlayConfig`, rather than the properties on the `GlobalPositionStrategy`. * Deprecates the `GlobalPositionStrategy.width` and `GlobalPositionStrategy.height` methods in favor of passing the dimensions through the config. * Reworks the `GlobalPositionStrategy` testing setup to make it less prone to breaking if any of the `OverlayRef` internals change. Fixes #9715.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
width
andheight
from theOverlayConfig
, rather than the properties on theGlobalPositionStrategy
.GlobalPositionStrategy.width
andGlobalPositionStrategy.height
methods in favor of passing the dimensions through the config.GlobalPositionStrategy
testing setup to make it less prone to breaking if any of theOverlayRef
internals change.Fixes #9715.