You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ConnectedOverlayDirective relies on binding order #3225
The directive should work independent of the order in which the bindings are set.
What is the current behavior?
The directive relies on the fact that the origin input is set before the open property, as the open property has a setter that relies on origin to be filled.
What are the steps to reproduce?
Users won't, I hit this while creating the new view engine for Angular 2.
What is the use-case or motivation for changing an existing behavior?
Changing Angular without breaking material.
Which versions of Angular, Material, OS, browsers are affected?
At least current master.
Is there anything else we should know?
A solution might be to use ngOnChanges instead of a setter for open in ConnectedOverlayDirective.
Activity
tbosch commentedon Feb 21, 2017
I have a workaround, but it would be nice to fix this for the future.
refactor(connected-overlay-directive): avoid issues with property ini…
refactor(connected-overlay-directive): avoid issues with property ini…
refactor(connected-overlay-directive): avoid issues with property ini…
refactor(connected-overlay-directive): avoid issues with property ini…
angular-automatic-lock-bot commentedon Sep 5, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.