-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Trouble using {config: (key) => ...} with useTrail #590
Comments
Disclaimer: I am also new to this so everything ahead might be completely incorrect The |
The |
This comment has been minimized.
This comment has been minimized.
@sjnonweb If you're talking about the v9 beta, please open a new issue. Thanks! |
@aleclarson Yes i commented here by mistake, i have posted my comment here now:
#642 (comment)
…On Mon, Apr 29, 2019 at 8:08 PM Alec Larson ***@***.***> wrote:
@sjnonweb <https://github.com/sjnonweb> If you're talking about the v9
beta, please open a new issue. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#590 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACSVJUGMLLD7RE336FUDBXLPS4B4TANCNFSM4G5HLMVQ>
.
|
When I set
config
as a function inuseTrail
, it doesn't get called with the arguments I'd expect.I'd love to be able to do something like below with
useTrail
, but currently thekey
parameter I get is not a reference to the animated value; rather, it's a reference to each spring's index in the set.Rather than getting
opacity
andtranslateY
, I'm getting0
,1
,2
, etc. I imagine this might be by design, but it'd be great to get both the key and index.I love this library by the way. Thank you for all of the great work!
The text was updated successfully, but these errors were encountered: