react-native/Examples/UIExplorer/js
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
..
AnimatedGratuitousApp Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
NavigationExperimental NavigationExperimental: Stop using absolute position for NavigationHeader. 2016-08-04 15:28:30 -07:00
Navigator Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
Thumbnails Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
AccessibilityAndroidExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
AccessibilityIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ActionSheetIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ActivityIndicatorExample.js ActivityIndicator Example ES6 classes migration and TimerMixin removal 2016-08-02 17:13:30 -07:00
AdSupportIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
AlertExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
AlertIOSExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
AnimatedExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
AppStateExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
AssetScaledImageExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
AsyncStorageExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
BorderExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
BoxShadowExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
CameraRollExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
CameraRollView.js Throw flow error when trying to access a style that is not defined on a stylesheet 2016-07-18 23:28:25 -07:00
ClipboardExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
DatePickerAndroidExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
DatePickerIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ExampleTypes.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
GeolocationExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ImageCapInsetsExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ImageEditingExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
ImageExample.js Implement multi-source Images on iOS 2016-07-28 14:13:46 -07:00
KeyboardAvoidingViewExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
LayoutAnimationExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
LayoutEventsExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
LayoutExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
LinkingExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ListViewExample.js Fix minor typo in ListViewExample.js 2016-07-18 10:30:53 -07:00
ListViewGridLayoutExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
ListViewPagingExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
MapViewExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ModalExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
NativeAnimationsExample.js Implement native Animated value listeners on Android 2016-08-04 13:13:33 -07:00
NavigatorIOSColorsExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
NavigatorIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
NetInfoExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
PanResponderExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
PermissionsExampleAndroid.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
PickerExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
PickerIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
PointerEventsExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ProgressBarAndroidExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ProgressViewIOSExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
PushNotificationIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
RCTRootViewIOSExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
RefreshControlExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
RootViewSizeFlexibilityExampleApp.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
ScrollViewExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ScrollViewSimpleExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
SegmentedControlIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
SetPropertiesExampleApp.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
ShareExample.js Add Share module 2016-07-25 03:43:29 -07:00
SliderExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
SliderIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
SnapshotExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
StatusBarExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
SwipeableListViewExample.js add UIExplorer example of SwipeableListView 2016-07-27 17:58:36 -07:00
SwitchExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TabBarIOSExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TextExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TextExample.ios.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TextInputExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TextInputExample.ios.js Add TextInput.dataDetectorTypes prop. 2016-07-31 14:28:28 -07:00
TimePickerAndroidExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TimerExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ToastAndroidExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ToolbarAndroidExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TouchableExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TransformExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
TransparentHitTestExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
UIExplorerActions.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
UIExplorerApp.android.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
UIExplorerApp.ios.js NavigationExperimental: Stop using absolute position for NavigationHeader. 2016-08-04 15:28:30 -07:00
UIExplorerBlock.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
UIExplorerButton.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
UIExplorerExampleList.js Fix UIExplorer List 2016-07-13 14:28:45 -07:00
UIExplorerList.android.js add UIExplorer example of SwipeableListView 2016-07-27 17:58:36 -07:00
UIExplorerList.ios.js add UIExplorer example of SwipeableListView 2016-07-27 17:58:36 -07:00
UIExplorerNavigationReducer.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
UIExplorerPage.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
UIExplorerStateTitleMap.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
UIExplorerTitle.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
URIActionMap.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
VibrationExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
VibrationIOSExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
ViewExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
ViewPagerAndroidExample.android.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
WebSocketExample.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
WebViewExample.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
XHRExample.android.js Add responseType as a concept to RCTNetworking, send binary data as base64 2016-07-13 04:58:37 -07:00
XHRExample.ios.js Throw flow error when trying to access a style that is not defined on a stylesheet 2016-07-18 23:28:25 -07:00
XHRExampleCookies.js Add responseType as a concept to RCTNetworking, send binary data as base64 2016-07-13 04:58:37 -07:00
XHRExampleFetch.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
XHRExampleHeaders.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
XHRExampleOnTimeOut.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
bunny.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
createExamplePage.js Convert from React.createClass to ES6 classes 2016-07-26 01:13:31 -07:00
flux@3x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
hawk.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
helloworld.html Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
relay@3x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
slider-left.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
slider-left@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
slider-right.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
slider-right@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
slider.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
slider@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
uie_comment_highlighted@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
uie_comment_normal@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
uie_thumb_big.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
uie_thumb_normal@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
uie_thumb_selected@2x.png Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00
websocket_test_server.js Cleanup UIExplorer folder 2016-07-12 05:59:13 -07:00