Why does the Spring Config function not called when using Imperative API? #2185
Unanswered
dragonman225
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I'd like to use the Imperative API (https://react-spring.dev/docs/concepts/imperative-api) with a Spring Config function (https://react-spring.dev/docs/advanced/config#config-per-springvalue) to customize friction, tension, etc per SpringValue, like this:
but it seems that the config function is never called (example: https://codesandbox.io/s/react-spring-bug-277lrl?file=/App.js). Wondering if any of you have encountered this problem?
Beta Was this translation helpful? Give feedback.
All reactions