react-native/Libraries/CustomComponents
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
..
ListView Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
NavigationExperimental NavigationExperimental: Stop using absolute position for NavigationHeader. 2016-08-04 15:28:30 -07:00
Navigator Add method popN() to Navigator. 2016-07-31 13:43:36 -07:00
LICENSE [ReactNative] Use ASCII double quotes 2015-07-24 13:16:25 -08:00