Open Brechard opened 2 years ago
Use the props parentWidth and sliderBoxHeight to adjust the size (with absolute values) instead of applying a custom style:
<SliderBox images={images} parentWidth={SCREEN_WIDTH} sliderBoxHeight={SCREEN_HEIGHT} />
that does not solve the issue, because when using images that horizontal they are cropped. What I want is to be able to see correctly all images no matter if they are horizontal or vertical
I am trying to create a full-screen slider that can show both images that are horizontal and vertically oriented. I have tried all values of resizeMode but it is not doing anything. I have also tried playing with sliderBoxHeight without good results.