mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +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](https://github.com/facebook/react-native/blob/381e2acd184fc4ba80a240ba3d7dda0464c6416b/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" />  Closes https://github.com/facebook/react-native/pull/3315 Reviewed By: @svcscm Differential Revision: D2529010 Pulled By: @vjeux fb-gh-sync-id: 6b79573f42a2520197f77dcb76cd640ea614477f