react-native/React
Martin Kralik 31bb85a210 limit fake scroll event emitting
Summary:A need for sending a scroll events outside of scrollview made D3092854 a bit clunky. This diff kinda fixes it by tightening up emitting of fake scroll events just to the only usecase we have right now.

Why not just simply construct the event in `RCTNavigator`, so we can drop the code from `RCTScrollView` altogether?
`RCTScrollEvent` is private to `RCTScrollView`, and that's good. We don't want anyone have an ability to make up scroll events. Even this existing functionality should be sunset one day when we better integrate with native gesture recognizers.

Depends on D3092867.

Reviewed By: javache

Differential Revision: D3120751

fb-gh-sync-id: 6519c055b983cfd48c4b4a9d619c4452e12efda1
fbshipit-source-id: 6519c055b983cfd48c4b4a9d619c4452e12efda1
2016-04-01 06:54:50 -07:00
..
Base better event emitting 2016-04-01 06:54:50 -07:00
Executors Stop the runloop from invalidate instead of dealloc 2016-03-30 08:12:18 -07:00
Layout Backed out changeset 14a8c290bb874ab3e954b45f6fb29d71d019adc2. 2016-03-16 08:53:25 -07:00
Modules RN: Packager URL defaults to port 8081 if no port in bundleURL 2016-03-30 12:38:19 -07:00
Profiler Revert FBReactKit: use indirect jumps to external functions 2016-03-30 16:40:23 -07:00
React.xcodeproj Fix OSS project configuration 2016-03-30 03:12:27 -07:00
Views limit fake scroll event emitting 2016-04-01 06:54:50 -07:00