Skip to content

v0.5.90

Choose a tag to compare

@jaspertey jaspertey released this 30 Oct 04:07
c8664fa

Upgrading

  • Run kit:update plan|apply for core (re-pinned sha256:446ce6c9…da56 → sha256:9c537146…d352): Kit/Layout/stickyBars.ts takes the fix below. A bar registered with register(px) keeps working: px now 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