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

Support running animations #4

Open
rsify opened this issue Apr 13, 2020 · 0 comments
Open

Support running animations #4

rsify opened this issue Apr 13, 2020 · 0 comments
Labels
priority 1 research Further research is required

Comments

@rsify
Copy link
Owner

rsify commented Apr 13, 2020

Some cutting edge animation libraries (like elm-animator) render the animated UI using generated CSS keyframes, instead of setting properties manually on every frame with requestAnimationFrame.

Currently all animations render out the initial state, which for the described case is completely breaking, and for other smaller cases perhaps unintuitive at the least.

To achieve the desired behavior we need to collapse each animation into frames which could be possible with the new Web Animations API, but I haven't looked into it in much detail.

@rsify rsify added priority 1 research Further research is required labels Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority 1 research Further research is required
Projects
None yet
Development

No branches or pull requests

1 participant