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

class={thing1} overwrites class:thing2 #7764

Closed
GauBen opened this issue Aug 6, 2022 · 1 comment · Fixed by #7765
Closed

class={thing1} overwrites class:thing2 #7764

GauBen opened this issue Aug 6, 2022 · 1 comment · Fixed by #7765

Comments

@GauBen
Copy link
Contributor

GauBen commented Aug 6, 2022

Describe the bug

Considering an element with <div class={color} class:border>...</div> and a slide transition, the .border class gets overwritten when the transition is restarted mid-way.

Reproduction

https://svelte.dev/repl/935dfa05c34f4158afe89fa2ea4ff601?version=3.49.0

Logs

No response

System Info

Svelte 3.49.0

Severity

annoyance

@Conduitry
Copy link
Member

This should be fixed in 3.50.0 - https://svelte.dev/repl/935dfa05c34f4158afe89fa2ea4ff601?version=3.50.0

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 a pull request may close this issue.

2 participants