Skip to content

Disable "isInteraction" on Animated.timing #52

@devladinci

Description

@devladinci

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);

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions