Repository navigation
v0.5.90
Upgrading
- Run
kit:update plan|applyforcore(re-pinnedsha256:446ce6c9…da56→sha256:9c537146…d352):Kit/Layout/stickyBars.tstakes the fix below. A bar registered withregister(px)keeps working:pxnow means its inset from the viewport's bottom, which for a bar flush with the bottom is its height.
Fixed
- A bottom toast clears a pinned bar that the layout holds above the viewport's bottom. The sticky-bar registry recorded each bar's height, and the Toaster lifted bottom toasts by that much. A filling Workbench's actions bar sits wherever the layout puts it, which under a shell shorter than its 8rem allowance is above the bottom edge, so a bottom-right toast landed on its right-hand buttons (Present, Save). Each bar now registers its inset (the distance from the viewport's bottom to its top), re-measured on scroll and window resize, and toasts clear the largest one. A browser test asserts that no bar button is under a toast, checking each button's left, centre and right, at 1440×900 with bottom-right toasts and at a phone width.
What's Changed
- Sticky bars register their inset, so bottom toasts clear a bar held above the viewport's bottom (0.5.x) by @jaspertey in #425
Full Changelog: v0.5.89...v0.5.90