react-native/Examples
Hedger Wang 38979f9c68 NavigationExperimental: Stop using absolute position for NavigationHeader.
Summary:
Not a API change, but this may break the layout of exisitng apps that
uses NavigationHeader.

For now, NavigationHeader uses absolute position, which makes it hard for
NavigationCardStack to determine the height of the scenes.

Theoretically, the height of the scenes would be the height of the cards
stack minus the height of the header.

That said, if we want to support the headers with different height (e.g.
MyIOSHeader or MyAndroidHeader), we're forced to expose the height of the
headers and manually compute the height of the scenes.

Alternatively, if the header does not use absolute position, the height
of the scenes can adjust automatically with flex box, and that's what this
commit is about to do.

Reviewed By: ericvicenti

Differential Revision: D3671119

fbshipit-source-id: 26e48f801da3661c5d7dce4752ba927621172f4a
2016-08-04 15:28:30 -07:00
..
2048 Fix libraries missing in examples: 2048 and TicTacToe 2016-08-03 04:58:28 -07:00
Movies Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TicTacToe Fix libraries missing in examples: 2048 and TicTacToe 2016-08-03 04:58:28 -07:00
UIExplorer NavigationExperimental: Stop using absolute position for NavigationHeader. 2016-08-04 15:28:30 -07:00
.eslintrc Add global flow types to eslint globals 2016-01-27 15:55:34 -08:00