• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / svelte-motion
60%
main: 57%

Build:
Build:
LAST BUILD BRANCH: fix/presence-exit-placeholder-slot
DEFAULT BRANCH: main
Repo Added 21 Feb 2025 05:35AM UTC
Token dfp0FoWB2YexHinOlPYfkZTafaIHIH3ah regen
Build 147 Last
Files 255
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/presence-exit-placeholder-slot
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • chore/deps-motion-12.39.0
  • chore/package-updates
  • chore/typed-lint-recommended
  • ci/drop-node-20
  • ci/readme-ecosystem-footer
  • codex/docs-code-block-button
  • codex/motion-value-children
  • codex/object-style-motion-values-317
  • codex/optimized-appear-animations
  • codex/posthog-integration
  • codex/transform-template-316
  • codex/use-animation-controls
  • codex/use-presence-data-parity
  • codex/wip-command-center
  • docs-kit-update
  • docs-ui-ux
  • docs-ui-ux-batch-2
  • feat/ai-glow-border-example
  • feat/animate-view
  • feat/layout-animation-cluster
  • feat/layout-group
  • feat/motion-custom-prop
  • feat/pan-gesture
  • feat/projection-page-space
  • feat/reorder
  • feat/runes-w2-boolean-snapshots
  • feat/runes-w3-motion-values
  • feat/seo-geo-improvements
  • feat/svg-motion-value-attributes
  • feat/use-animate
  • feat/use-cycle
  • feat/use-follow-value
  • feat/use-in-view
  • feat/use-presence
  • feat/use-reduced-motion
  • feat/vanilla-motion-values
  • feat/variant-string-keys
  • feat/while-in-view-viewport
  • fix/animate-augmented-motion-value-typing
  • fix/animate-transform-persist
  • fix/drag-transform-composition
  • fix/presence-exit-placeholder-slot
  • fix/release-cleanup-always-run
  • fix/seo-unique-titles
  • fix/upstream-parity-12.41
  • fix/usepresence-svelte-5-55-7-main
  • fix/whiletap-release-overshoot
  • initial-creation
  • issue-417
  • layout-dependency
  • main
  • mobile-drawer
  • use-will-change

21 Jul 2026 05:05PM UTC coverage: 60.202%. First build
29851475245

push

github

web-flow
fix(animate-presence): exit in place — placeholder slot anchoring, clone position, key={0} (#448)

* test(animate-presence): capture grid exit placeholder slot regressions

Red against current code: when a keyed child exits from a CSS grid, the
slot-holding placeholder lands before the entire display:contents
presence container (always column 1), so surviving siblings get shoved a
column over during the exit and shuffle back after it — instead of
holding still, then FLIPing once into the freed slot.

- unit: placeholder must land in the exiting child's own slot (first/
  middle/last/two simultaneous exits), anchored past Svelte-injected
  sibling nodes that detach with the child
- e2e: frame-by-frame sampling of a 3-column grid — survivors hold
  while the clone fades, then slide (never snap) into place
- repro page under tests/animate-presence/grid-exit, linked from home

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(animate-presence): anchor exit placeholder in the exiting child's slot

The placeholder that holds an exiting child's layout slot was inserted
via findLayoutInsertionParent, which walked up past display:contents
parents and anchored before the wrapper it found — but that wrapper is
AnimatePresence's own container holding every sibling, so the
placeholder always landed in the first slot. In a grid this shoved all
surviving cards one column over for the duration of the exit, then
shuffled them back once it finished.

Anchoring on the element itself doesn't work either: Svelte detaches
keyed nodes before unregisterChild runs, and the element's raw
nextElementSibling is a Svelte-injected <script> node that detaches
with it. Instead, track each child's next registered sibling (or live
placeholder) while it is still connected, refreshed whenever the child
set changes, and at exit time walk that chain past siblings that
detached in the same update to find a live anchor.

Siblings now hold their slots while the exit clone fades, ... (continued)

874 of 1682 branches covered (51.96%)

Branch coverage included in aggregate %.

35 of 36 new or added lines in 2 files covered. (97.22%)

3348 of 5331 relevant lines covered (62.8%)

23.84 hits per line

Relevant lines Covered
Build:
Build:
5331 RELEVANT LINES 3348 COVERED LINES
23.84 HITS PER LINE
Source Files on main
  • Tree
  • List 255
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29851475245 fix/presence-exit-placeholder-slot fix(animate-presence): exit in place — placeholder slot anchoring, clone position, key={0} (#448) * test(animate-presence): capture grid exit placeholder slot regressions Red against current code: when a keyed child exits from a CSS grid, the sl... push 21 Jul 2026 05:13PM UTC web-flow github
60.2
29269579752 feat/projection-page-space feat(projection): page-space measurement, retire legacy projection node (#447) * test(projection): characterize scroll-during-layout behavior Red-first characterization for plan 004 Step 1: case 1 (no-scroll swap animates) passes today; case 2 e... push 13 Jul 2026 05:15PM UTC web-flow github
59.49
29157799721 fix/drag-transform-composition fix(drag): compose full transform during drag via buildTransform (#446) * test(drag): capture transform composition regressions Add focused red coverage for live 2D and 3D whileDrag transforms and cross-axis layout pinning during an x-only drag.... push 11 Jul 2026 03:24PM UTC web-flow github
59.87
29077035839 feat/ai-glow-border-example feat(docs): Apple Intelligence wavy glow border example (#443) Flagship example for plan 005: the wavy Apple Intelligence border (Siri screen-edge glow) rebuilt on MotionValues, showcasing plan 002's declarative SVG filter-attribute binding (moti... push 10 Jul 2026 07:35AM UTC web-flow github
59.99
29056057887 chore/typed-lint-recommended chore(lint): adopt recommendedTypeChecked and fix the bugs it surfaced (#442) * docs(plans): add typed-lint batch plan 001 Plan to adopt `ts.configs.recommendedTypeChecked` with scoped carve-outs for the deliberate `any`-bridging into motion-dom... push 09 Jul 2026 11:00PM UTC web-flow github
59.96
29040897708 feat/svg-motion-value-attributes feat(svg): bind MotionValues to SVG attributes, add attrX/attrY/attrScale (#441) * docs(plans): guard log for 002 red-test checkpoint Verdict DRIFTING: e2e asserts on getAttribute('cx'), but svgEffect style-routes cx/r/stroke-dashoffset (verifie... push 09 Jul 2026 06:32PM UTC web-flow github
60.01
29019149311 fix/animate-augmented-motion-value-typing fix(types): animate() accepts AugmentedMotionValue without casts (#440) * feat(examples): add AI Gradient Animation Card example Port the "AI Gradient Animation Card" by hover.dev to Svelte 5: a rotating conic-gradient border with a masked glow ... push 09 Jul 2026 12:47PM UTC web-flow github
59.78
28749693314 fix/whiletap-release-overshoot fix(interaction): honor resolved transition for whileTap, delegate to motion springs (#433) whileTap ignored the resolved transition entirely: a component `transition` prop / `<MotionConfig>`, an inline `whileTap.transition`, and the base variant... push 05 Jul 2026 05:56PM UTC web-flow github
59.77
28661197968 feat/vanilla-motion-values feat(values): vanilla motion-value layer with unified rune sources (#432) * test(setup): heal motion-dom's frame loop between fake-timer tests Each test gets a fresh fake clock, so an rAF scheduled near the end of the previous test (e.g. the fra... push 03 Jul 2026 12:42PM UTC web-flow github
59.74
28622636502 feat/animate-view feat(view): animateView — View Transitions API with Svelte flushSync (#431) * test(e2e): pin the preview webServer to a project-specific port Vite's default preview port (4173) is shared by every repo on a machine, so a concurrent e2e session in... push 02 Jul 2026 09:28PM UTC web-flow github
59.19
See All Builds (141)

Badge your Repo: svelte-motion

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc