v1.0.1
v1.0.1
This patch release fixes the sidebar trigger icon on mobile.
Fixed
- Fixed the mobile sidebar trigger showing the wrong icon.
SidebarTriggerselected its icon from theisMobilemedia query, which resolves tofalseduring server-side rendering and on the first client render, so the server markup and the hydrated markup disagreed and phones showed a panel icon instead of the menu icon on initial load. The icons are now always rendered and switched with the Tailwindmdresponsive classes, which match the(max-width: 767px)breakpoint used bySidebarProvider, so the markup is identical on the server and on the client.
Upgrade Guide
- Rebuild frontend assets with
npm run buildor your normal frontend workflow. - If you customized
resources/js/components/ui/sidebar/SidebarTrigger.vue, apply the same change: renderMenuwithmd:hiddenandPanelLeftOpen/PanelLeftClosewithhidden md:block, instead of branching onisMobile.