mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
9f07b9a2b6
Summary: When composing scroll views, `this.refs[SCROLLVIEW_REF]` may refer to another higher-order scroll component instead of a ScrollView. This can cause issues if you expect to need it to be a ScrollView backed by an RCTScrollView. The solution is to call `getScrollResponder()` - as long as all higher-order scroll components implement this method, it will make its way down to the true ScrollView, which is what ListView wants here. Closes https://github.com/facebook/react-native/pull/1927 Github Author: James Ide <ide@jameside.com>