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

Is it possible to use react-spring to animate filter values #437

Open
michael-motornyi opened this issue May 23, 2023 · 0 comments
Open

Comments

@michael-motornyi
Copy link

michael-motornyi commented May 23, 2023

Description

I want to animate filter values with react-spring.

const MyFilter = withFilters({ someFilter: SomeFilter });

const animatedValues = useSpring({
  from: { filterValue: 0 }, 
  to: { filterValue: 0 }, 
});

<Spring>
  <MyFilter {...animatedValues}>{...}</MyFilter>
</Spring>

But seems like it is not supported now.

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