components icon indicating copy to clipboard operation
components copied to clipboard

fix(material/sidenav): enable hydration

Open crisbeto opened this issue 2 years ago • 0 comments

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:

  1. Focus trap anchors throw off hydration.
  2. 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.

crisbeto avatar Dec 29 '23 09:12 crisbeto