nickcharles / react-native-invertible-flatlist Goto Github PK
View Code? Open in Web Editor NEW[DEPRECATED] A FlatList that can be flipped.
License: MIT License
[DEPRECATED] A FlatList that can be flipped.
License: MIT License
Why when i reach the top of list . onEndREacth method not trigerred ??
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.
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.
not work on huawei Honor 8
There is a new version of React Native out and it's got some improvements for FlatList! We should upgrade!
https://github.com/facebook/react-native/releases/tag/v0.45.0
Forgot to include 'default' in export default class InvertibleFlatList extends PureComponent.
How to render from top to bottom when the number of rendering is small
transform: [{ scaleY: -1 }]
dosen't work well in HuaWei Mate9. I think it is the problem mentioned by this issue. It seems ok if I change style to transform: [{ perspective: 1 } , { scaleY: -1 }]
. Can you fix this problem lately?
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?
<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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.