Files
react-native-reanimated/Example
Michał Osadnik 25ee5056cb Add additional check for running clock for imperative snapTo (#197)
## 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.
2019-03-04 10:50:41 +01:00
..
2018-09-14 09:59:26 +02:00
2018-08-20 19:09:51 +02:00
2018-06-01 13:51:27 +02:00
2018-09-21 16:24:23 +02:00
2018-08-16 17:09:13 +02:00
2018-04-25 11:22:32 +02:00
2018-08-16 17:09:13 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2018-04-25 11:22:32 +02:00
2019-03-04 10:48:02 +01:00
2019-03-04 10:48:02 +01:00

Run the example

  • Clone the repository
  • Run yarn to install the dependencies of library
  • cd to this directory
  • Run yarn to install the dependencies of example
  • Run yarn start to start the packager with custom config
  • react-native run-ios or react-native run-android