diff --git a/.changeset/slides-kit-crossfade.md b/.changeset/slides-kit-crossfade.md new file mode 100644 index 0000000..120c589 --- /dev/null +++ b/.changeset/slides-kit-crossfade.md @@ -0,0 +1,12 @@ +--- +"sideshow": patch +--- + +Slides kit now grid-stacks its deck so it cross-fades in normal flow. Previously +it swapped slides with `display:none`, which can't fade — so decks were hand-rolled +with `position:absolute` slides over a `min-height` stage, an out-of-flow layout the +surface-page height bridge can't measure (the overlay grows `scrollHeight` but not +the box its ResizeObserver watches), leaving the frame clipped/frozen. The kit now +stacks slides in one grid cell (in flow, sized to the tallest slide) and fades with +opacity/visibility, so the frame follows it. DESIGN_GUIDE documents the out-of-flow +trap and the grid-stack recipe alongside the existing `position: fixed` ban. diff --git a/guide/DESIGN_GUIDE.md b/guide/DESIGN_GUIDE.md index f57980c..2ed00b2 100644 --- a/guide/DESIGN_GUIDE.md +++ b/guide/DESIGN_GUIDE.md @@ -211,8 +211,17 @@ is yours. height automatically. - `