Closed dancixx closed 3 weeks ago
You can warp FlatList horizontal direction in renderCard
for multiple images and wrap that component in Pressable
.
`const SwiperItem: React.FC
);`
@dancixx Is there a source you can cite as an example from anywhere? I don't quite understand what you mean
@Skipperlla sorry for late answer, but I was able to solve this thing just needed to add a tap gesture detector to the child element.
@dancixx you cant not use GestureDetector
because they already using Pan Gesture
. try
import { TapGestureHandler } from 'react-native-gesture-handler';
and wrap your each child to TapGestureHandler
in renderCard
callback
If you explain what you want in a little detail, I can add it directly so you don't need to write extra code, if you have no other questions, I will close the issue @dancixx
Hi, thanks for your work. Is it possible to support tap events for children elements, for example, show multiple images?!