diff --git a/src/components/ha-drawer.ts b/src/components/ha-drawer.ts index 72b69ca8b5..bfd2ac3d9e 100644 --- a/src/components/ha-drawer.ts +++ b/src/components/ha-drawer.ts @@ -186,9 +186,11 @@ export class HaDrawer extends DrawerBase { padding-inline-start var(--ha-animation-duration-normal) ease; } @media (prefers-reduced-motion: reduce) { + /* Use 1ms instead of "none" so the transitionend event still fires. + The MDC drawer foundation relies on it to complete the close cycle. */ .mdc-drawer, .mdc-drawer-app-content { - transition: none; + transition: 1ms; } } `,