ACarousel
ACarousel copied to clipboard
scroll event ignored if the carousel view in the TabView and item view have tap gesture
This is the sample structure:
TabView { VStack { ACarousel(items) { item in ItemView(item) .onTapGesture { "do something" } } }
VStack {...} VStack {...} VStack {...} } .tabViewStyle(.page(indexDisplayMode: .never))
I want to swipe the carousel item if i drag inside
Hi, I had this issue too, did you fix it?
Hi, I had this issue too, did you fix it?
I cant fix it because the gesture is private, I cant set it to higher priority. Now I used another one ACarousel instead of TabView
like this: ACarousel(pages) { page in VStack { ...some views ACarousel(items) { item in ItemView(item) .onTapGesture { "do something" } } } }
Seem works! hope it can help you first
Thank you, let me try