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

Vertical mode for stacks?

Open ghost opened this issue 3 years ago • 2 comments

anyone who has implemented stacks in vertical mode? if yes please let me know here

ghost avatar Oct 25 '21 13:10 ghost

Yes, I have implemented it.

<Carousel layout={'default'} ref={carouselRef} data={allStories} sliderWidth={width} itemHeight={height} sliderHeight={height - 100} itemWidth={width + horizontalMargin} removeClippedSubviews={true} enableMomentum={true} firstItem={currentStoryIndex} useScrollView={true} vertical={true} renderItem={_renderStories} decelerationRate={0.9} onSnapToItem={(index) => moveToNext(index)} onBeforeSnapToItem={(index) => { setCurrentStoryIndex(index); setIsMutedVideo(false); // progress.setValue(0); }} />

syedtehrimabbas avatar May 19 '22 07:05 syedtehrimabbas

Thank @syedtehrimabbas I tried to do vertical somehow got into some error message, your codes is a good reference to let me check what is missing, thanks once again.

NoahSimajji avatar Dec 23 '22 09:12 NoahSimajji