Skip to content

Animations are frozen on View.Animated with PanResponder #321

@pythys

Description

@pythys

bug report

Animations are disabled when my <View> is surrounded by <ViewShot>...</ViewShot>. This happens when I have an sub-views that are of type Animated.View and I use a PanResponder to handle user clicks

Version & Platform

3.1.2 on Android

Expected behavior

Animation should work fine and ViewShot should not disable animations.

Actual behavior

Animations freeze and I cannot click or move things about.

Steps to reproduce the behavior

  • Create a view
  • Inside that view create an animated view
  • Assign a PanResponder to the animated view to allow for having interactive animation (e.g. move)
  • Surround the outer view with <ViewShot>
  • Observe the freeze

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions