machadogj / react-native-carousel-control

React Native Carousel control with support for iOS and Android
MIT License
247 stars 55 forks source link

Can't adjust carousel padding around pages. #35

Open Buzzkill-McSquare opened 6 years ago

Buzzkill-McSquare commented 6 years ago

The left and right padding of the carousel is rather large. I was hoping I could adjust it in the style prop but it looks like the left & right padding is calculated based on the content and sneak prop.

ksairi commented 6 years ago

I'm experiencing the same. Actually when orientation changes, something inside the component is not re-rendering and is showing the previous padding and messing the style (especially when loading content in landscape and then shifting orientation to portrait, the page contains the landscape padding)