Files
react-native/Libraries
Janic Duplessis db74e713fe Fix scrollTo when using RefreshControl on Android
Summary:
The issue is that the ScrollResponder mixin assumes that the native scrollable node is the top level element and gets it using `React.findNodeHandle(this)` but since Android wraps the native `ScrollView` component with the `RefreshControl`, it finds the native `RefreshControl` node instead and the scroll command gets ignored because it doesn't exists.

This adds a hook to ScrollResponder mixin to allow specifying what is the native scrollable node.

The bug can be reproduced using this https://gist.github.com/janicduplessis/871c0b6d3ad0acaacba9 in UIExplorer.

Fixes #5725
Closes https://github.com/facebook/react-native/pull/5736

Reviewed By: svcscm

Differential Revision: D2896125

Pulled By: nicklockwood

fb-gh-sync-id: 0a00a20551421982c5bc519c542774877ba15c9b
2016-02-03 11:13:33 -08:00
..
2015-07-24 08:41:58 -08:00
2016-02-01 17:13:35 -08:00
2016-01-30 17:11:28 -08:00
2016-01-08 15:42:32 -08:00
2016-01-12 03:11:31 -08:00
2016-01-26 14:34:31 -08:00
2015-12-18 17:04:29 -08:00
2015-12-03 09:10:29 -08:00
2016-02-01 12:42:33 -08:00
2016-01-29 09:13:32 -08:00
2015-07-24 08:41:58 -08:00