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

Composite style handling (color, transform etc.) #27

Open
nickschot opened this issue Mar 29, 2022 · 0 comments
Open

Composite style handling (color, transform etc.) #27

nickschot opened this issue Mar 29, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@nickschot
Copy link
Contributor

In most cases it is preferable to have the default replace behaviour that we have currently for (web) animations (i.e. "I want to animate from opacity 0 to 1 regardless of what the current value is").

One special case that I ran into is where an element already has a transform defined. We currently provide no nice way to keep that transform in effect, while the user is at the moment simply saying to the system "I want to animate the position of the element".

We probably have to read out the current value and possibly combine it into the keyframes (?) (or automatically select a different composite option in case we detect a pre-existing value that we need to keep).

I'll make a branch with a demo that showcases the issue soon.

@nickschot nickschot changed the title Composite style handling Composite style handling (color, transform etc.) Aug 19, 2022
@nickschot nickschot added the enhancement New feature or request label Aug 19, 2022
ef4 pushed a commit that referenced this issue Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant