2 Commits

Author SHA1 Message Date
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
Krzysztof Magiera
067b440b33 Interactable.View implementation based on reanimated and gesture handler (#106)
This PR adds an implementation of Interactable.View to examples folder. The implementation is pretty feature full with the exception of alertAreas that I haven't had time yet to work on.
2018-09-21 16:18:27 +02:00