Open AlejandroGutierrezB opened 9 months ago
It's happening with me in android. Also, long press is not triggering context menu after first open.
Hi! Can you please clarify the problem and what the platform is @AlejandroGutierrezB? I don't have enough info here. Are you saying that tapping the menu opens the context menu when it should only be on long press? I assume this is Android?
Hi! Can you please clarify the problem and what the platform is @AlejandroGutierrezB? I don't have enough info here. Are you saying that tapping the menu opens the context menu when it should only be on long press? I assume this is Android?
Hi @nandorojo sorry for not been detailed enough.
My issue is for Web, Haven't really tested in android so can't talk about that.
when clicking there is a small delay and the menu is triggered. That is the unexpected behaviour as I don't want to open the menu when clicking. when long-clicking the menu is instantly triggered as expected.
context menu should open on right click. is that not what’s happening?
Hey @nandorojo, using ContextMenu
Menu on Android gets triggered onClick
too. Here is a video showing what is happening.
https://github.com/nandorojo/zeego/assets/35562287/96774216-7a43-4d57-a929-85f7da7a25cf
The Context.Trigger
is also wrapped inside a LightBox
component.
Hey @nandorojo, using
ContextMenu
Menu on Android gets triggeredonClick
too. Here is a video showing what is happening.VIDEO-2024-01-15-16-07-52.mp4
The
Context.Trigger
is also wrapped inside aLightBox
component.
This is happening with me in iOS too. ContextMenu.Trigger
wraps an entire component with different images in my case and long pressing any image, opens it (onPress
gets fired basically) along with opening the context menu.
trying this example https://github.com/nandorojo/zeego/blob/master/examples/expo/src/App.tsx
When I do a normal click on the contextMenu the dropdown is shown (with some delay).
Expected behaviour is for this not to happen