react-native/Libraries/Lists
AntoineDoubovetzky 54af5b151e Remove wrapper around ListEmptyComponent (#24339)
Summary:
This pull request fixes #24257.

The wrapper around ListEmptyComponent doesn't allow to use flex on the ListEmptyComponent.
The wrapper was removed in this [commit](db061ea8c7), and then put back in this [commit](e94d3444dc) but I think the relevant part was removing the condition on `itemCount !== 0` to apply the inversionStyle on the ScrollView and everything is still working without the wrapper.

[GENERAL] [FIXED] - Remove wrapper around ListEmptyComponent
Pull Request resolved: https://github.com/facebook/react-native/pull/24339

Differential Revision: D14822221

Pulled By: cpojer

fbshipit-source-id: 623e1ab3f228e9b75b92cdcd568683232a403c1a
2019-04-17 21:26:51 +02:00
..
ListView Fix ListViewMock unique key error (#14894) 2018-12-10 17:13:54 -08:00
__flowtests__ Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
__tests__ Remove wrapper around ListEmptyComponent (#24339) 2019-04-17 21:26:51 +02:00
FillRateHelper.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
FlatList.js Enable removeClippedSubviews on Android only for improved scrolling performance 2018-12-12 12:55:02 -08:00
SectionList.js @allow-large-files [flow] update to v0.83 2018-10-13 01:32:48 -07:00
ViewabilityHelper.js Fixes 'Invalid render range' crash (#22847) 2019-01-21 01:58:54 -08:00
VirtualizeUtils.js Use `invariant` instead of `fbjs/lib/invariant` 2018-12-03 00:07:02 -08:00
VirtualizedList.js Remove wrapper around ListEmptyComponent (#24339) 2019-04-17 21:26:51 +02:00
VirtualizedSectionList.js Fixed regression in SectionList caused by #21577 not being able to scroll to top on android (#24034) 2019-03-22 18:22:26 +01:00