-
-
Notifications
You must be signed in to change notification settings - Fork 40
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Smooth JavaScript Tweened Transitions #197
Comments
@niklasgrewe Thank you for this topic. Component you are linked to, in example, doesn't using tween.js, but using svelte export function cubicOut(t: number) {
const f = t - 1.0;
return f * f * f + 1.0;
} Doesn't rely on css transitions, but manipulate with Seems like a good point for new ModuleSome road map for this issue:
Any helps welcome 馃檹 |
Hi,
thank you very much for this library, i love it, really useful 馃憤 But i wonder, why cupertino-panes using css transitions and not tweened animation with the tween.js library for example. Is there a particular reason for this? perhaps for performance reasons?
The reason I ask is because I recently found a similar Svelte Component. The transition seemed even more smooth to me there. I don't know the exact technical differences, but I think it's related to the fact that the svelte component uses a svelte tweened store for the transition and cupertino-panes rely on css transition.
A demo of the svelte component can be found here:
https://svelte.dev/repl/9116699f10ac42668e7b58d120c4bc8c?version=3.52.0
The text was updated successfully, but these errors were encountered: