mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-06 09:31:11 +08:00
Summary: Introduce `overflow:scroll` so that scrolling can be implemented without the current overflow:visible hackiness. Currently we use AT_MOST to measure in the cross axis but not in the main axis. This was done to enable scrolling containers where children are not constraint in the main axis by their parent. This caused problems for non-scrolling containers though as it meant that their children cannot be measured correctly in the main axis. Introducing `overflow:scroll` fixes this. Reviewed By: astreet Differential Revision: D3855801 fbshipit-source-id: 3c365f9e6ef612fd9d9caaaa8c650e9702176e77
The source of truth for css-layout is: https://github.com/facebook/css-layout The code here should be kept in sync with GitHub. HEAD at the time this code was synced: https://github.com/facebook/css-layout/commit/a1f36b53f5464c8ee7abc311765dc3ecb1b879c6 There is generated code in: - README (this file) - fbandroid/java/com/facebook/csslayout - fbandroid/javatests/com/facebook/csslayout - fbobjc/Libraries/FBReactKit/js/react-native-github/React/Layout The code was generated by running 'make' in the css-layout folder and running: scripts/sync-css-layout.sh <pathToGithubRepo> <pathToFbSourceRepo>