Prioritize the pan gesture over the tap gesture
This commit is contained in:
@@ -115,7 +115,7 @@ function ProgressBar() {
|
|||||||
isDragging.value = false;
|
isDragging.value = false;
|
||||||
runOnJS(TrackPlayer.seekTo)(pos.value);
|
runOnJS(TrackPlayer.seekTo)(pos.value);
|
||||||
});
|
});
|
||||||
const gesture = Gesture.Exclusive(tap, pan);
|
const gesture = Gesture.Exclusive(pan, tap);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
pos.value = position;
|
pos.value = position;
|
||||||
|
|||||||
Reference in New Issue
Block a user