-
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
fix(sidenav): scrollable instance not exposed when explicitly specifying content element #11517
fix(sidenav): scrollable instance not exposed when explicitly specifying content element #11517
Conversation
…ing content element * Fixes the `MatSidenavContainer.scrollable` being undefined if the consumer has set the `mat-sidenav-content` themselves. The issue comes from the fact that we only query for scrollables inside the drawer's own view, but not inside the projected content. * Fixes the example in the sidenav docs accessing the scrollable too early. Fixes angular#10884. BREAKING CHANGE: the constructor signature of the `MatDrawerContent` and `MatSidenavContent` has changed.
…ing content element (#11706) This is a resubmit of #11517 which got in by accident. * Fixes the `MatSidenavContainer.scrollable` being undefined if the consumer has set the `mat-sidenav-content` themselves. The issue comes from the fact that we only query for scrollables inside the drawer's own view, but not inside the projected content. * Fixes the example in the sidenav docs accessing the scrollable too early. Fixes #10884. BREAKING CHANGE: the constructor signature of the `MatDrawerContent` and `MatSidenavContent` has changed.
@andrewseguin @crisbeto @mmalerba Could you please merge and release this as part of 7? The next window of opportunity is 8 after that, and I fear it will be quite long time to that. Thank you for the consideration! |
@crisbeto want to just do the |
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. |
MatSidenavContainer.scrollable
being undefined if the consumer has set themat-sidenav-content
themselves. The issue comes from the fact that we only query for scrollables inside the drawer's own view, but not inside the projected content.Fixes #10884.
BREAKING CHANGE: the constructor signature of the
MatDrawerContent
andMatSidenavContent
has changed.