Git Product home page Git Product logo

react-native-auto-scroll's Introduction

react-native-auto-scroll

ScrollView that scrolls down responsively.

import AutoScroll from 'react-native-auto-scroll'

<View style={styles.msgsView}>
  <AutoScroll
    contentContainerStyle={styles.scrollContainer}>
    {this.state.messages.map(msg => {
      return <Message key={msg.id} message={msg} />
    })}
  </AutoScroll>
</View>
<TextInput style={styles.textInput} />

For more available props: Docs of ScrollView

react-native-auto-scroll's People

Contributors

fritx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

react-native-auto-scroll's Issues

Android performance issue cause closing app

Hey! thanks for your awesome plugin, it really works, i just test this module on a phisical device, and when i scroll the AutoScroll is to sloooooooow, idk what it is, but app closing for that, in your code i saw a comment that says repeated called on Android there is a way to no make a setTimeout each 500ms?

Thanks!

Can I disable immediate scroll to bottom?

Hey, thank you for building this!

Is it possible to disable the initial scroll down to the bottom when first coming to the screen with the scrollview?

I love the scroll to bottom on update of the scrollView and on keyboard actions.

I am trying to use it for a comments page. The post itself is at the top. I want the user to see the top first and then be able to scroll down at will. Or if they click reply, and the keyboard opens, THEN it scrolls down.

Is this possible?

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.