react-native/Libraries/Lists
Danny Cochran 3d69b5ce5c Pass invertStickyHeaders to ScrollView
Summary:
invertStickyHeaders was being set to "this.props.inverted" -- it should just inherit from the props of VirtualizedList instead, per discussion in https://github.com/facebook/react-native/issues/18471

Fixes #18471

Pass "invertStickyHeaders: false" to a SectionList (or FlatList), and expect that your sticky headers stick to the bottom of the ScrollView, instead of the top.

none

[ANDROID] [BUGFIX] [SectionList] - invertStickyHeaders can now be set from SectionList or FlatList.
Closes https://github.com/facebook/react-native/pull/18524

Differential Revision: D7386163

Pulled By: hramos

fbshipit-source-id: 3b66dfca280e657303f69f98c5a8bc0df033f9f7
2018-04-03 16:57:52 +02:00
..
ListView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
__flowtests__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
__tests__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
FillRateHelper.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
FlatList.js StyleObj -> DangerouslyImpreciseStyleProp 2018-03-07 13:24:20 -08:00
MetroListView.js @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
SectionList.js @allow-large-files Upgrade xplat/js to Flow v0.66 2018-02-16 20:24:57 -08:00
ViewabilityHelper.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
VirtualizeUtils.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
VirtualizedList.js Pass invertStickyHeaders to ScrollView 2018-04-03 16:57:52 +02:00
VirtualizedSectionList.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00