Category: React Native

Posted in React Native

Can NavigatorIOS notify that a “back” happened?

Not sure if I’m missing something, but does NavigatorIOS have a way of notifying its owner that there is a new top route because the…

Continue Reading
Posted in React Native

[Orientation] Re-Layout on orientation change

How should I re-layout the page when the orientation of the device changes? I noticed none of the demo apps seem to support this yet….

Continue Reading
Posted in React Native

border top/left/bottom/right width not working

I have this in my render method: return View( { style: { flex: 1 } }, TouchableWithoutFeedback( { onPress: this.handlePress }, View({ style: { flex:…

Continue Reading
Posted in React Native

NavigatorIOS: Accessing onRightButtonPress from within child component

I’m creating a TodoList example app using Flux. Right now I have three components: TodoListApp, TodoItems and AddItem. TodoListApp is simply a NavigatorIOS component which…

Continue Reading
Posted in React Native

npm start fails with `FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)`

Running OS X 10.10.1 The npm install worked fine, but I can’t seem to get npm start to work. It fails with a long stream…

Continue Reading
Posted in React Native

[ScrollView] Scrolling ends prematurely in ScrollViews embedded in a parent ScrollView

You can see this behavior in the UIExplorer app’s <ScrollView> example. Fling to initiate a scroll in an inner ScrollView and fling again (before scrolling…

Continue Reading
Posted in React Native

Padding at the top of a list view

I’m rendering a ListView and it has padding at the top that I can’t get rid of: My code: return ListView({ style: { flex: 1,…

Continue Reading
Posted in React Native

TextInput inside View doesn’t work

<View> <TextInput placeholder=”This works” /> <View> <TextInput placeholder=”This doesn’t work” /> </View> </View> The sample project with this bug is here – https://github.com/boopathi/textinputbug Am I…

Continue Reading
Posted in React Native

Support for separators in ListView

Row separators are non-trivial to do and ListView could help by providing them out of the box in a way that’s easier to use than…

Continue Reading
Posted in React Native

Inverted ListView that renders from the bottom up

Inverted lists are useful for UIs like terminals, event logs, chat, etc… where you want to insert new content from the bottom and load old…

Continue Reading