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

Disable "isInteraction" on Animated.timing #52

Open
devladinci opened this issue Mar 16, 2021 · 1 comment
Open

Disable "isInteraction" on Animated.timing #52

devladinci opened this issue Mar 16, 2021 · 1 comment

Comments

@devladinci
Copy link

While isInteraction is enabled won't get callbacks InteractionManager.runAfterInteractions. This can be really hard to debug by the way.

    Animated.parallel(
      [color0, color1].map(animatedColor => {
        return Animated.timing(animatedColor, {
          toValue: customColors.length,
          duration: customColors.length * speed,
          easing: Easing.linear,
          isInteraction: false,
        })
      })
    )
      .start(this.startAnimation);
@heineiuo
Copy link
Owner

How about add isInteraction (and other Animated params) to component props?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants