eclipse-theia/theia

Context menus are not dismissible on iPad (iOS 12)

Open

#6322 aperta il 3 ott 2019

Vedi su GitHub
 (3 commenti) (1 reazione) (0 assegnatari)TypeScript (2478 fork)batch import
help wantedipad

Metriche repository

Star
 (18.676 star)
Metriche merge PR
 (Merge medio 15g 4h) (75 PR mergiate in 30 g)

Descrizione

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

  1. Open Theia on iPad (I tried iOS 12), in any browser (they're all Safari anyway)
  2. Open any file in a code editor
  3. Long-press on the code (e.g. as if you were trying to select it). This opens a context menu.
  4. Try dismissing the context menu, by "clicking" (or "tapping") outside of it. This doesn't work.
  5. Long-press on another part of the code. You'll now see two context menus open.

OS and Theia version: master

Diagnostics:

Guida contributor