-
Notifications
You must be signed in to change notification settings - Fork 330
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delays in rendering a page for appintroslider when app is first opened in version 4.0.4 #237
Comments
after delving into the source code, // index.js
this.state = {
width: 0,
height: 0,
activeIndex: 0,
}; i change this value
so the slider wont have is that what you mean with render time? this is what i meant |
I faced the same issue and patched by setting the width and height using Dimensions. Otherwise your slides can may "glitch" initially before the onLayout event is called on the FlatList. |
For those still encountering this issue, here's the patch solution: react-native-app-intro-slider+4.0.4.patch
For help using this patch or with the |
I upgraded the package to the current version 4.0.4 from 2.0.1 and this seems to be causing delays when rendering for the first time. Navigating to the page for appintroslider drags for about 5 seconds before it opens. This used not to be the case and behaves normally when I downgrade to the 2.0.1
The text was updated successfully, but these errors were encountered: