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

Origin animation distance #86

Open
amingarro opened this issue Aug 18, 2021 · 6 comments
Open

Origin animation distance #86

amingarro opened this issue Aug 18, 2021 · 6 comments

Comments

@amingarro
Copy link

Please, could you add this feature?

Example: distance="50px"
<Fade direction="right" distance="50px" cascade="true" damping="0.3">

Thank you very much for your work, greetings.

@morellodev
Copy link
Owner

Hi, you can only play with the fraction prop listed here, because this is the way the Intersection Observer API works.

Anyway, be sure to pass the props using the right types:

<Fade direction="right" cascade={true} damping={0.3}>

@nagman
Copy link

nagman commented Sep 2, 2021

I don't think it's what @amingarro meant. distance here is relative to how much the element should translate during its animation.
The default is a translate of 100%, but that's way too much in most cases.

@000Erick
Copy link

000Erick commented Dec 9, 2021

I have the same problem I need the property "distance", is there any temporary solution ?

@yang
Copy link

yang commented Mar 16, 2022

You'll need to use custom keyframes, code snippet here: #43

@josuearrieta
Copy link

Thoughts on adding this natively in the main component? Fade and Slide ?

@SteveAtKlover
Copy link

yes, this is needed. please add asap. should be simple to implement.

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

No branches or pull requests

7 participants