diff --git a/CHANGELOG.md b/CHANGELOG.md index a9dc509..71031eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.4.1] - 2026-11-30 + +### Fixed + +- **The Blazor glue called AdminLTE functions that don't exist.** `adminlte-blazor.js` + called `Treeview.init`, `PushMenu.init` and `CardWidget.init`, which AdminLTE 4 + doesn't have, so nothing was re-initialised after Blazor replaced the prerendered + layout. On phones, tapping outside the open sidebar no longer closed it. The glue now + calls `adminlte.initialize()`, which removes the previous run's listeners before it + runs again, and recreates the sidebar's OverlayScrollbars instance when a DOM patch + removed it. `DashboardLayout` runs it once after the first interactive render + instead of on every render. +- **Statically rendered pages lost AdminLTE's setup after enhanced navigation.** + `` now also loads `adminlte-blazor.js` as a module, which re-runs + the setup on Blazor's `enhancedload` event. +- **Menu groups and dropdowns could navigate to the home page.** With + `blazor.web.js` loaded first, Blazor treated clicks on `href="#"` toggles as + navigation to `/` (via ``) on statically rendered pages. The docs and + the demo now load `` before `blazor.web.js`, and the topbar user + menu toggle is a `