-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
cdkConnectedOverlay should let us change positioning strategy #16374
Conversation
Doesn't this somewhat defeat the purpose of the directive? If you're already creating the strategy, the rest of the overlay only needs a few more lines of code. |
We have an internal component that is built on top of this directive. We use all of the other features. But the positioning strategy is not overridable. It mostly looks like below:
|
Leaving up to @jelbourn on how to proceed here, but it'll definitely need some unit tests. |
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.
We talked about it ahead of time; I'm okay with this change, though it does need a unit test :)
Added a unit test for this. |
@mertdeg2 overall looks good but there are some failures on CI |
I think i fixed the failures on CI |
…rategy The problem is that this directive is not flexible enough to pass in arbitrary positioning strategy.
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.
LGTM
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. |
The problem is that this directive is not flexible enough to pass in arbitrary positioning strategy.