react-native/Libraries/Components
Emil Sjolander 0a9b6bedb3 BREAKING - Fix unconstraint sizing in main axis
Summary:
This fixes measuring of items in the main axis of a container. Previously items were in a lot of cases measured with UNSPECIFIED instead of AT_MOST. This was to support scrolling containers. The correct way to handle scrolling containers is to instead provide them with their own overflow value to activate this behavior. This is also similar to how the web works.

This is a breaking change. Most of your layouts will continue to function as before however some of them might not. Typically this is due to having a `flex: 1` style where it is currently a no-op due to being measured with an undefined size but after this change it may collapse your component to take zero size due to the implicit `flexBasis: 0` now being correctly treated. Removing the bad `flex: 1` style or changing it to `flexGrow: 1` should solve most if not all layout issues your see after this diff.

Reviewed By: majak

Differential Revision: D3876927

fbshipit-source-id: 81ea1c9d6574dd4564a3333f1b3617cf84b4022f
2016-09-26 06:13:56 -07:00
..
ActivityIndicator Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Clipboard Annotate Clipboard module 2016-02-15 10:05:34 -08:00
DatePicker Auto-fix lint errors 2016-08-09 06:43:46 -07:00
DatePickerAndroid Auto-fix lint errors 2016-08-09 06:43:46 -07:00
DrawerAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
Intent Remove knowledge of fbjs from the packager 2016-03-02 04:28:38 -08:00
Keyboard add missing KeyboardAvoidingView documentation 2016-08-30 10:43:33 -07:00
MapView Point to airbnb/react-native-maps 2016-09-13 01:13:45 -07:00
Navigation NavigatorIOS System Icon Support 2016-09-08 17:58:50 -07:00
Picker Bugfix - Only add valid IOSPicker items. 2016-09-10 21:43:37 -07:00
ProgressBarAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
ProgressViewIOS Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
RefreshControl Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
ScrollView BREAKING - Fix unconstraint sizing in main axis 2016-09-26 06:13:56 -07:00
SegmentedControlIOS Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Slider Auto-fix lint errors 2016-08-09 06:43:46 -07:00
SliderIOS Auto-fix lint errors 2016-08-09 06:43:46 -07:00
StatusBar Auto-fix lint errors 2016-08-09 06:43:46 -07:00
Switch Update Switch.js docs - tintColor changes border 2016-09-05 13:43:37 -07:00
SwitchAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
SwitchIOS Auto-fix lint errors 2016-08-09 06:43:46 -07:00
TabBarIOS Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TextInput Add TextInput controlled selection prop on Android 2016-09-05 07:13:46 -07:00
TimePickerAndroid Fixed typo in docs 2016-04-06 08:55:20 -07:00
ToastAndroid Add very basic usage example for android toast 2016-09-19 06:43:54 -07:00
ToolbarAndroid Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
Touchable Active opacity for TouchableHighlight should be 0.85 to match iOS native look 2016-09-21 07:13:38 -07:00
UnimplementedViews Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
View BREAKING - Fix unconstraint sizing in main axis 2016-09-26 06:13:56 -07:00
ViewPager ViewPagerAndroid: FIX folly::toJson: JSON object value was a NaN or INF 2016-09-09 08:58:46 -07:00
WebView Improve loading error handling on Android WebView 2016-09-02 23:28:35 -07:00
LazyRenderer.js Replace local copy of TimerMixin with module from npm. 2016-09-09 10:13:41 -07:00
ScrollResponder.js Auto-fix lint errors 2016-08-09 06:43:46 -07:00
StaticContainer.js Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
StaticRenderer.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00