v0.2.5
Fixes
- slidev-component: close the active question when the slide is navigated away from. Slidev keeps every slide mounted and switches the active one by toggling
style="display: none"on the previous slide's.slidev-page.IntersectionObserverdoes not reliably deliver an entry for an element that becomesdisplay:none(the spec leaves it implementation-defined and Chromium skips it), so a slide losing focus never produced an IO-leave event — the panel never posted/closeand voters kept seeing the old poll prompt after the presenter moved on.PollPanelnow watches the slide-page's style attribute with aMutationObserverand drives activate/close off the display transitions;IntersectionObserveris retained as a fallback for non-Slidev embeds. (7033c6a) - slidev-component: detect image backgrounds on the inner
.slidev-layout. Slidev applies the frontmatterbackground:as an inline style on.slidev-layout(child of.slidev-page), not on the page itself.useSlidevTheme.hasImageBackgroundonly looked at the page, so image-bg slides registered as plain and the panel rendered opaque against the photo — thescrim-dark/scrim-lightmode never engaged. The detector now also checks the inner layout (and watches itsstyleattribute for live bg swaps). (60aac45)
CI / release
- ci(docker): multi-arch backend image via matrix + always tag
latest.publish-backendfans out across native runners (ubuntu-latestforlinux/amd64,ubuntu-24.04-armforlinux/arm64) and pushes each arch by digest only; a follow-uppublish-backend-manifestjob stitches the digests into a multi-arch manifest list under all tags. Every published image now also gets:latestin addition to the version-specific tags so consumers can pin to the current release without rewriting their compose file each cut. (66ef9f2)
Full Changelog: v0.2.4...v0.2.5