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
docs-bug(Sidenav): deprecated methods used in the responsive sidenav example #29266
P4A relatively minor issue that is not relevant to core functionsarea: material/sidenavdocsThis issue is related to documentationgood first issueLabel noting a good first issue to be worked on by a community member
In the stackblitz demo, it shows that addlistener and removelistener are deprecated.
I just wanted to create this documentation issue to let the contributors/maintainers aware.
Hi! I'd like to help fix this documentation issue. I can update the StackBlitz demo to use the current addEventListener/removeEventListener methods instead of the deprecated ones.
I have 4 years of Angular experience and would be happy to submit a pull request with the fix. Could you please confirm this is the right approach and if there are any specific guidelines for updating the demo?"
P4A relatively minor issue that is not relevant to core functionsarea: material/sidenavdocsThis issue is related to documentationgood first issueLabel noting a good first issue to be worked on by a community member
Activity
crisbeto commentedon Jun 17, 2024
We should just use the CDK instead of setting up the media query ourselves.
docs(material/sidenav): Deprecated methods used in the responsive sid…
docs(material/sidenav): Deprecated methods used in the responsive sid…
docs(material/sidenav): Deprecated methods used in the responsive sid…
docs(material/sidenav): Deprecated methods used in the responsive sid…
docs(material/sidenav): Deprecated methods used in the responsive sid…
IronKai commentedon Jul 19, 2025
Hi! I'd like to help fix this documentation issue. I can update the StackBlitz demo to use the current addEventListener/removeEventListener methods instead of the deprecated ones.
I have 4 years of Angular experience and would be happy to submit a pull request with the fix. Could you please confirm this is the right approach and if there are any specific guidelines for updating the demo?"
docs(sidenav): update responsive example to use current APIs
docs(sidenav): update responsive example to use current APIs Replaces…
docs(sidenav): update responsive example to use current APIs Replaces…
docs(sidenav): update responsive example to use current APIs
docs(material/sidenav): use BreakpointObserver in responsive example