components
components copied to clipboard
fix(material/sidenav): enable hydration
Fixes that the sidenav was disabling hydration. This is problematic, because it essentially disables hydration for the entire app that is using the sidenav. The hydration errors had a couple of root causes:
- Focus trap anchors throw off hydration.
- We were moving the end sidenav manually so the visual order matches the DOM order for accessibility. Now this happens only on the client.
Fixes #27848.