I've created a carousel using the drag gesture in Framer, each slide contains a video component and some text. Is there a way to have a drag gesture on the entire carousel track but excluding the video components in each slide even though it's a child element.
When a user tries to drag the container over the video, it still does the drag gesture but also plays the video at the same time as it picks up the pointer down event as a onDragStart and onClick event. How could I separate the two, so that the video isn't draggable but only clickable?
I've tried having a isDragging state which updates onDragStart, then disabling the onClick when it updates to true, which works sometimes but not others.