react-native-carousel-view icon indicating copy to clipboard operation
react-native-carousel-view copied to clipboard

height of carousel

Open Thanmai-C opened this issue 8 years ago • 3 comments

i want the carousel not to have a height, as the items are filled it should keep growing, how to do that to the carousel. (no static height) I think if u can set the default props to null, this should work as needed

Thanmai-C avatar Nov 04 '17 10:11 Thanmai-C

can u give solution for this?

arunkrishna39 avatar Nov 16 '17 14:11 arunkrishna39

I try to set the height similar to the screen height but it doesn't work...

height:'100%' or height:null as no effect.

Can you have a solution please ?

TheSkay avatar Mar 12 '18 20:03 TheSkay

I did a hack around, by calculating the height of items coming and assigning that to the carousel height.

Thanmai-C avatar Mar 23 '18 08:03 Thanmai-C