mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 03:56:03 +00:00
7abf8ba631
Summary: Fixes #3312.
The example was no longer reacting to touch/drag events.
It looks like `setNativeProps` requires the `style` property to contain the style rules. It appears that this warning is [only in development mode](381e2acd18/Libraries/ReactIOS/NativeMethodsMixin.js (L115-L117)
), but after fixing it I am seeing the gestures recognized and properly handled. Running outside of the dev environment yielded the circle to be positioned at the top left of the screen, below the navigation bar, and inaccessible.
<img src="https://cloud.githubusercontent.com/assets/656630/10407224/1449b1b2-6eb6-11e5-8116-20d08f7721ec.png" width="350" />
![after](http://g.recordit.co/UIbeHcKZUg.gif)
Closes https://github.com/facebook/react-native/pull/3315
Reviewed By: @svcscm
Differential Revision: D2529010
Pulled By: @vjeux
fb-gh-sync-id: 6b79573f42a2520197f77dcb76cd640ea614477f