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

Animation blocks transition #5637

Open
vwkd opened this issue Nov 2, 2020 · 3 comments
Open

Animation blocks transition #5637

vwkd opened this issue Nov 2, 2020 · 3 comments

Comments

@vwkd
Copy link

vwkd commented Nov 2, 2020

Describe the bug
I couldn't find an issue about it, and the docs don't mention the behaviour either. Is it expected behaviour that an animation of an element blocks a transition of it?

bug

To Reproduce

  1. Create list of elements that changes over time, e.g. with an ephemeral list store.
  2. Put a transition and animation on these elements.
  3. Schedule the changes such that the transition happens at the same time as the animation.

https://svelte.dev/repl/40d4bef097c645189e1a4d73d76ec79f?version=3.29.4

Expected behavior
I'd expect a transition of to not be blocked by an animation, the same way that two transitions don't block each other.

@pushkine
Copy link
Contributor

pushkine commented Nov 2, 2020

Unfortunately this is expected, as css only applies the latest occurrence of a property, only the latest transform is taken into account

@stale
Copy link

stale bot commented Jun 26, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale-bot label Jun 26, 2021
@stale stale bot removed the stale-bot label Jun 26, 2021
@stale stale bot removed the stale-bot label Jun 27, 2021
@stale
Copy link

stale bot commented Dec 24, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale-bot label Dec 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants