eclipse-theia/theia

[editor] dismiss context menu on scroll

Open

#2,660 opened on Aug 24, 2018

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
bugeditorhelp wantedmonaco

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

I was expecting either system behavior (no scrolling while context menu is visible) or the same as in monaco playground:

2018-08-24 13 28 14

but currently the context menu just stays on top at the fixed position if you try scrolling:

2018-08-24 13 28 29

the UX issue is that you're moving away from the original selection, which is context of that menu.

Contributor guide