Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add crossfade strategies, scale (like before) & size #15520

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tizu69
Copy link

@tizu69 tizu69 commented Mar 15, 2025

Fixes #15519.

This adds transition strategies to crossfade, which impact how the transition transitions.
Next to "scale" (or undefined, for backwards compat) which does what crossfade does already, "size" does not stretch the element, but changes its size instead.

@svelte-docs-bot
Copy link

Copy link

changeset-bot bot commented Mar 17, 2025

🦋 Changeset detected

Latest commit: d97b170

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
svelte Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@tizu69
Copy link
Author

tizu69 commented Mar 17, 2025

🦋 Changeset detected

mate that changeset has been here this whole time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crossfade transition: Transition strategies
1 participant