react-native/Libraries/Experimental/SwipeableRow
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
..
SwipeableListView.js Properly clear openRowID when a row is swiped to closed position. 2017-02-02 04:58:38 -08:00
SwipeableListViewDataSource.js NUX-y bounce 2016-06-07 09:13:21 -07:00
SwipeableQuickActionButton.js fix FlowFixMe in SwipeableQuickActionButton 2016-10-24 09:58:53 -07:00
SwipeableQuickActions.js remove max children limitation on SwipeableQuickActions 2017-02-02 05:28:34 -08:00
SwipeableRow.js removed flex: 1 from SwipeableRow styles to make compatible with 0.39 changes 2017-02-08 16:00:12 -08:00