Skip to content

v1.24.1

Choose a tag to compare

@github-actions github-actions released this 10 Aug 18:25
· 12 commits to main since this release

Fixed

  • mobileBreakpoint did not actually move the breakpoint (#17, reported by @cmdevpe). 1.24.0 wired the prop to isMobile — which decides what the trigger toggles — but the two panels are painted by CSS, and that was still three static md: classes pinned to 768px. With mobile-breakpoint="1023px" at 900px the trigger flipped openMobile and nothing appeared: the JS said mobile while the CSS kept the rail docked and the drawer hidden.

    The md: classes stay as the no-JS default, so the docked rail still paints with the page instead of popping in after Alpine boots; isMobile overrides them only when the two disagree — which is exactly what a breakpoint other than md means. The drawer is now gated on isMobile itself, so dragging a window past the breakpoint while it is open closes it rather than leaving it floating over the docked rail.

If you set mobile-breakpoint in 1.24.0, it did nothing for any value that would have changed anything. Update.

Full Changelog: v1.24.0...v1.24.1