-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ContextMenu trigger onclick too #59
Comments
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 @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. |
context menu should open on right click. is that not what’s happening? |
Hey @nandorojo, using VIDEO-2024-01-15-16-07-52.mp4The |
This is happening with me in iOS too. |
found any solution to this problem ? |
Hey guys, so on iOS, the context menu actually does have its own view…I think it’s fixed with style on root, which definitely isn’t right. Let me look into a way to change this. It’s a breaking change so it will be in v2. |
This is still happening in v2.0.4 - a long press works nicely in iOS, but on android a single tap will trigger the context menu. I thought potentially toggling the |
I think the issue might happen when using react-native-gesture-library for touchables within this component. Since the gesture-library components can't really coordinate with the regular react native components, it fires since it doesn't know the child handled the touches. Would there be any way to detect if rn-gesture-handler is being used and/or provide a way to provide the touchable class to use for the library itself? |
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
The text was updated successfully, but these errors were encountered: