eclipse-theia/theia
View on GitHubContext menus are not dismissible on iPad (iOS 12)
Open
#6,322 opened on Oct 3, 2019
help wantedipad
Repository metrics
- Stars
- (18,676 stars)
- PR merge metrics
- (Avg merge 15d 4h) (75 merged PRs in 30d)
Description
Description
#3557 reports that:
Context menus are not dismissible without reloading the page.
Indeed, on iPad, it's quite easy to open context menus by mistake (e.g. with a long-press inside the Editor), and contrary to desktop, the context menus stay open even when you tap outside of them.
Furthermore, you can even open more than one context menu, so at some point you may fill your entire screen with un-dismissible context menus.
A workaround is to trigger any item to close the context menu (Copy is a pretty safe item to trigger), but this isn't a great UX.
Reproduction Steps
- Open Theia on iPad (I tried iOS 12), in any browser (they're all Safari anyway)
- Open any file in a code editor
- Long-press on the code (e.g. as if you were trying to select it). This opens a context menu.
- Try dismissing the context menu, by "clicking" (or "tapping") outside of it. This doesn't work.
- Long-press on another part of the code. You'll now see two context menus open.
OS and Theia version: master
Diagnostics: