-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
iPad: can not trigger context menu outside of Editor #120956
Comments
We can listen to the custom touch/context menu events from |
@rebornix oh that's great! |
Ok, so a bunch of components listen to fyi @joaomoreno for list / tree since I plan to change it there as well. |
Might be a bit of bigger task since the list does not seem to recognize from the touch event on what element it is being triggered. |
fyi @joaomoreno just in case you are in an iPad bug destroying mode... |
Pushed a fix for all list/tree/tables. 🚀 |
Awesome 👏 |
Here's are some places where the long press still does not trigger a context menu:
@sandy081 could you maybe look into some of the above and just do the same fix as @joaomoreno did for the list / tree. Or what I just did for the status bar. That is to listen to Most of the other context menu usages are inside the list and tree and I think we are already good there. |
@sandy081 I actually started looking into the other areas. So you can hopefully just review my work once I push 😊 |
I think I captured most of the cases in my list above. I just fixed them and this seems to work fine. |
fyi @Tyriar @meganrogge if they would like to do the same thing for the terminal (even though we do not support the terminal for web cases it would be nice to have this for touch laptops). So the fix is just to add you element to Gesture targets and listen on Gesture context menu. Let me know if you would prefer that I create an issue for you for this. |
iPad
Currently you can trigger a context menu on the editor by holding a click.
However you can not trigger a context menu anywhere else in the workbench.
@rebornix is there something special that we do for this in the editor?
Might we need to do that in all the places?
fyi @joaomoreno for tree
The text was updated successfully, but these errors were encountered: