react-native/Libraries/CustomComponents/NavigationExperimental
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
..
assets Rework the NavigationHeader 2016-03-21 22:07:26 -07:00
NavigationAnimatedValueSubscription.js Implements `renderHeader` for legacy navigator. 2016-03-10 17:17:21 -08:00
NavigationCard.js Remove `node_modules/react` from the list of discoverable haste modules 2016-07-05 06:44:33 -07:00
NavigationCardStack.js NavigationExperimental: Stop using absolute position for NavigationHeader. 2016-08-04 15:28:30 -07:00
NavigationCardStackPanResponder.js Fix navigation card stack pan responder 2016-07-25 11:58:44 -07:00
NavigationCardStackStyleInterpolator.js Unrevert D3518381 2016-07-06 12:58:41 -07:00
NavigationHeader.js NavigationExperimental: Stop using absolute position for NavigationHeader. 2016-08-04 15:28:30 -07:00
NavigationHeaderBackButton.js Remove prop `onNavigate`. 2016-06-09 17:58:27 -07:00
NavigationHeaderStyleInterpolator.js Unrevert D3518381 2016-07-06 12:58:41 -07:00
NavigationHeaderTitle.js Fix flow error in Flow error in NavigationError/NavigationHeaderTitle 2016-07-30 17:13:41 -07:00
NavigationPagerPanResponder.js Provide RTL support for new Navigator -- Make RTL works in NUX 2016-07-11 20:58:32 -07:00
NavigationPagerStyleInterpolator.js Provide RTL support for new Navigator -- Make RTL works in NUX 2016-07-11 20:58:32 -07:00
NavigationPointerEventsContainer.js explicit type args in react-native-github 2016-05-24 18:28:26 -07:00