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

Adding support for all easing types with WAAPI #1830

Merged
merged 9 commits into from Dec 16, 2022
Merged

Conversation

mattgperry
Copy link
Collaborator

@mattgperry mattgperry commented Dec 14, 2022

WAAPI doesn't support all the same easing functions as Framer Motion.

In this PR we detect easing functions we can approximate with a cubic-bezier curve and do so.

For those that we can't approximate, we generate keyframes.

In the future for remaining easings it will be possible either to generate linear() easings in supported browsers (currently none).

@mattgperry mattgperry changed the title Adding support for back/circ easings to WAAPI Adding support for back/circ easings to WAAPI Dec 14, 2022
@mattgperry mattgperry changed the title Adding support for back/circ easings to WAAPI Adding support for all easing types with WAAPI Dec 16, 2022
@mattgperry mattgperry merged commit 4fc0790 into main Dec 16, 2022
@mattgperry mattgperry deleted the fix/waapi-easing branch December 16, 2022 15:29
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.

None yet

1 participant