Theia: [editor] dismiss context menu on scroll

Created on 24 Aug 2018  路  2Comments  路  Source: eclipse-theia/theia

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.

bug editor help wanted monaco

Most helpful comment

I think we should align with the playground. Probably listen to on scroll event and close the context menu.

All 2 comments

@akosyakov I was wondering if there is a way to prevent scrolling in an editor widget (or more specifically monaco editor)?

I think we should align with the playground. Probably listen to on scroll event and close the context menu.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhananjayharel picture dhananjayharel  路  3Comments

pwFoo picture pwFoo  路  3Comments

akosyakov picture akosyakov  路  3Comments

vince-fugnitto picture vince-fugnitto  路  3Comments

akosyakov picture akosyakov  路  3Comments