-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Optionally render page #1004
Comments
Can you reproduce it on v1.6.0@nightly.1 ? |
Yup, same thing with with |
It makes no difference what props I put, the issue can be reproduced with the exact code I posted originally. Also, I'm sure you can imagine what an "empty page" looks like without adding a gif ;)
Thanks for investigating! |
@skizzo It is a missing feature, I will try to support it in this week : ) |
You the man, thanks a lot! |
@skizzo You can test it on react-native-swiper@1.6.0-dev.1 👀 |
Thanks, but it's still showing an empty page.. |
My bad, my |
The logic of updating the current index also has some problem (when the index of the page which you want to remove is less than current index ), I will fix it in next nightly version.😄 |
* feat(pages): support optionally render page re #1004 * fix(ScrollView): android ScrollView will not scrollTo certain offset when props change
Which OS ?
iOS & Android, doesn't matter.
Version
v1.5.13
&v1.6.0@nightly.1
v0.57.8
Expected behaviour
A page that should be optionally rendered doesn't show up at all and reduces the total amount of pages to one less than if optional page is rendered.
Actual behaviour
An empty page is shown, but the slide should be skipped completely.
Steps to reproduce
The text was updated successfully, but these errors were encountered: