Comments (10)
i have an issue like this. if images contain for example 200 elements, if i put initalPage = 30 it don't work ( don't display the good image and cannot go left and right)
how to solve this please ?
from react-native-image-gallery.
same issue
from react-native-image-gallery.
Could you provide some reproduction steps?
When it happen, on initial page > 10?
It can be the same I had with FlatLists component.
from react-native-image-gallery.
Nothing special actually, I'm taking from the example and using this array source.
and the code is
<Gallery
imageComponent={this.renderImage}
images={this.state.images}
initialPage={0}
onPageSelected={this.onChangeImage}
errorComponent={this.renderGalleryError}
/>
Maybe the behaviour is built in such a way that it will only load 10 and you have to load the next 10?
from react-native-image-gallery.
Nooo, if you have all images in state.images this should work.
from react-native-image-gallery.
btw. @Exilz I was busy and couldn't go back to you about 2.0 version, but I had still some issues and I am still using my branch. Will try look at current version soon.
from react-native-image-gallery.
@chrusart oh, it is in a state.
I attached the txt file here in case you'd like to have a look at it.
from react-native-image-gallery.
Yeah, I saw it, I don't think you made errors in a file.
from react-native-image-gallery.
Is it still a problem with the latest version of the plugin ?
from react-native-image-gallery.
You may have to pass initialNumToRender
to the flatlist prop whose default value is 10.
from react-native-image-gallery.
Related Issues (20)
- Error decoding image data <NSData 0x6000030192f0; 82644 bytes>
- It is possible to save the image on my iPhone/Android ? HOT 1
- Laggy when using setParams react navigation on page selected HOT 1
- how to stop photo from swiping vertically when scrolling horizontally
- Warning: componentWillMount/ componentWillReceiveProps deprecated HOT 1
- Example using image in storage
- Feature Request
- infinite scrolling feature
- This library is not MAINTAINED! HOT 7
- keyExtractor HOT 1
- detect when swiped at the last image
- Animated 'useNativeDriver' was not specified HOT 6
- Exit button is not defined by default? HOT 1
- page Scroll not working
- How can i get zoom scale
- zoom to area??
- initialPage doesn't work above index value of 9
- The Gallery seems to break after removing the last image HOT 1
- How to enlarge a picture without shrinking it?Could anyone do me a favor?
- Android header space
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-image-gallery.