openspacelabs/react-native-zoomable-view

doubleTap prevents single tap

Closed this issue · 1 comments

It would be nice to be able to wrap react-native-zoomable-view inside a pressable, e.g. hide header on tap, zoom on double tap.

This is unfortunately not possible today because the onPress callback is never called when react-native-zoomable-view is a child of pressable. I guess it catches the press and prevents it from bubbling.

Nevermind.

onSingleTap does the job =)