Linked Questions

Popular Questions

I am using react-native version "0.42.3" and native-base version "0.5.18" to create a mobile chat with a layout like this:

    <Container>
      <Header>{/*some code here!!!*/}</header>
      <Content>{/*some code here!!!*/}</Content>
      <Footer>{/*some code here!!!*/}</Footer>
    </Container>

messages show out in the Content tag and the scroll down works great but is there a way to invert the display so you would scroll up instead of down like facebook or whatsapp chat?

in the react-native docs for newer versions there is a component called FlatList witch has a props called inverted that does this effect. Is there something similar that I can do with the native-base version I am using?

Related Questions