mirror of
https://github.com/zhigang1992/react-native-reanimated.git
synced 2026-01-12 22:50:47 +08:00
## Motivation Issue has been described here https://github.com/kmagiera/react-native-reanimated/issues/182 Using imperative snapTo in `Interactable.View` sometimes didn't lead to any effect. ## Changes It was caused by a fact that clock was not running and therefore changes haven't been evaluated properly. If GH responsible for dragging hadn't beed activated, clock was not running and then snapping without dragging was expected to run with clock stopped. Added extra condition for it.
Run the example
- Clone the repository
- Run
yarnto install the dependencies of library cdto this directory- Run
yarnto install the dependencies of example - Run
yarn startto start the packager with custom config react-native run-iosorreact-native run-android