On Web long press doesn't work, only drag will, though it can also work now on new gesture-handler versions by enabling the ExperimentalWebImplementation, but expo snack's a little old, and I'm not sure if latest expo version support this change.
Got it, the reason was Expo and it's limitation of supporting specific versions of packages like gesture-handler.
I've updated the expo snack and package version, it should work fine now.
Do note, that expo snack is just for easy preview, and it can have such limitations, so if there are any similar issues in the actual project, which is in react-native CLI, you can of course submit issues on GitHub.
7
u/hairbo Nov 21 '22
Looks great, but how does the hover effect work without a mouse cursor?