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

transition not working #387

Open
PramodhRajapakse opened this issue Sep 30, 2021 · 0 comments
Open

transition not working #387

PramodhRajapakse opened this issue Sep 30, 2021 · 0 comments

Comments

@PramodhRajapakse
Copy link

PramodhRajapakse commented Sep 30, 2021

I created an animated icon and am trying to rotate this icon using the transition prop, the code works fine but the transition occurs abruptly and is not smooth. I have tried to figure where the issue is with no success. I am new to react native and therefore this might be a stupid question, would really appreciate it if someone could give me some assistance on this matter.

<AnimatedIcon
duration={500}
easing="ease-out"
transition='rotate'
style={ transform ? [{transform: [{'rotate' : props.degree}]}] : null}
name="sort-desc"
/>

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

1 participant