react-native/Libraries/Experimental
Sachin Rekhi 2fa7c93c1c removed flex: 1 from SwipeableRow styles to make compatible with 0.39 changes
Summary:
React Native 0.39 introduced a breaking change through a new C-based implementation of css-layout. Developers were encouraged to remove unnecessary flex: 1 styles where no longer required to address any resulting layout issues.

The SwipeableListView has not yet been updated to reflect this change. Specifically, SwipeableRow still sets flex: 1 even though it shouldn't.

This was resulting in a rendering issue for folks when they upgraded to React Native 0.39 and used SwipeableListView that caused significant initial flickering when rendering a SwipeableListView. The solution was simply to remove flex: 1 from the SwipeableRow implementation.

This small change removes flex: 1 to resolve this issue.

Suggested reviewer (initial SwipeableListView contributor): fred2028

See this issue for more details: https://github.com/facebook/react-native/issues/11441
Closes https://github.com/facebook/react-native/pull/11521

Differential Revision: D4532562

Pulled By: lacker

fbshipit-source-id: 5c2907186d00481a731bd81794947a019465a031
2017-02-08 16:00:12 -08:00
..
SwipeableRow removed flex: 1 from SwipeableRow styles to make compatible with 0.39 changes 2017-02-08 16:00:12 -08:00
__tests__ Better ListView - FlatList 2017-02-04 10:28:47 -08:00
FlatList.js Better ListView - FlatList 2017-02-04 10:28:47 -08:00
Incremental.js Reverted commit D4027388 2016-10-16 04:13:42 -07:00
IncrementalExample.js Clean unused import modules. 2016-10-16 11:13:40 -07:00
IncrementalGroup.js Reverted commit D4027388 2016-10-16 04:13:42 -07:00
IncrementalPresenter.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
MetroListView.js Better ListView - FlatList 2017-02-04 10:28:47 -08:00
ViewabilityHelper.js Better ListView - FlatList 2017-02-04 10:28:47 -08:00
VirtualizeUtils.js Better ListView - FlatList 2017-02-04 10:28:47 -08:00
VirtualizedList.js Better ListView - FlatList 2017-02-04 10:28:47 -08:00
WindowedListView.js Better ListView - FlatList 2017-02-04 10:28:47 -08:00