React-native-swiper: Issue with rendering. Swiper is blank until manually swiped

Created on 27 Jun 2020  路  5Comments  路  Source: leecade/react-native-swiper

Im having this issue where the swiper doesn't render at first when the screen loads. I need to swipe first for it to show. Any ideas of how to fix this?

Screen Shot 2020-06-26 at 10 59 37 PM

Most helpful comment

I had a similar issue where I had to add removeClippedSubviews={false} to the swiper component for it to work.

All 5 comments

I had a similar issue where I had to add removeClippedSubviews={false} to the swiper component for it to work.

I had a similar issue where I had to add removeClippedSubviews={false} to the swiper component for it to work.

This works perfectly! Thanks

Took me some hours to workaround it and yet the solution was much easier and more recently posted. Thanks a lot!

Turns out that adding removedClippedSubviews={false} does resolve this issue! However, I would like to know why it actually happens without the prop change? Any input?

We are on the current version (1.6.0) and indeed adding removeClippedSubviews={false} fixed the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AndriiBoiko picture AndriiBoiko  路  3Comments

diegolmello picture diegolmello  路  3Comments

ruben-kasaz picture ruben-kasaz  路  3Comments

AndrewSouthpaw picture AndrewSouthpaw  路  3Comments

ghost picture ghost  路  3Comments