GithubHelp home page GithubHelp logo

nickcharles / react-native-invertible-flatlist Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 4.0 192 KB

[DEPRECATED] A FlatList that can be flipped.

License: MIT License

JavaScript 54.44% Python 10.55% Java 8.01% Objective-C 27.00%
react react-native component flatlist invertible

react-native-invertible-flatlist's People

Contributors

kelset avatar nickcharles avatar

Stargazers

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

Watchers

 avatar  avatar

react-native-invertible-flatlist's Issues

Deprecation Notice

React Native's FlatList component now supports inversion natively. I will be releasing version 1.2.1 of this package and then deprecating it. For future development I recommend using the native implementation.

RN 0.46 update

Hey there,
thanks for this small but really useful lib!

I've update my app to latest stable (0.46.4) and I get this pesky warning:

warning "[email protected]" has incorrect peer dependency "react-native@^0.45.0".

Which I feel could be simply fixed by changing this line to "react-native": ">=0.45.0" - as far as I can see there have not been any changes to the component.
But I felt like asking before submitting a PR 'cause I see you use @types so maybe there are some other changes necessary.

Add 'default' to export

Forgot to include 'default' in export default class InvertibleFlatList extends PureComponent.

Inverted flat list rendered blank list

I have the invertible flat list working when "inverted" is not set. But once I add the inverted prop, the list just goes blank. I am using this with Expo sdk 17.0.0 and react-native 0.44. Any ideas what might be the issue?

Pushing items to the list causes it to go from inverted to noninverted.

<InvertibleFlatList keyExtractor={item => item.id} data={this.props.order.thread.messages} renderItem={this._renderMessage} inverted={true} />
The data comes from redux. i create a new message and push it to redux the list goes from inverted to noninverted, and the new message shows at the top of the list, not bottom.

ListFooterComponent inserts footer at the top

I read sources and there is no handling for ListFooterComponent and ListHeaderComponent. To render component at the bottom i need to pass ListHeaderComponent instead of ListFooterComponent

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.