Steps or JS usage snippet reproducing the issue:
go here.
Playground
just right click on "module Conway {" on the editor. command palette opens up.
@sbatten this is the same issue we ran into yesterday, let's fix this on Monday.
I can reproduce. I think there are two issues hidden here.
The positioning is broken. No matter how much space there is below that location on the page, the context menu always wants to be rendered to the top:

There must be some form of double interpreting of the mouse event, where the first right click to show the context menu leads to the last entry being selected.
(I could grab the screenshot by using Shift+F10 to show the context menu instead of right clicking)
@alexandrudima, 2 is expected, this behavior is to enable the right click hold, drag, select functionality. We've run into this issue multiple times on Linux because of placement (1 above) and @joaomoreno has fixed it a few times. I'll take a look today
Placement seems to be wrong because the page actually scrolls.
@sbatten @joaomoreno I would appreciate a fix for this when you get a chance, I'm waiting for this to make a new editor recovery release. Thanks!
@joaomoreno looked into this and have ideas/concerns though I know you own this code and have made several changes to address this issue.
There were 3 issues:
window.pageYOffset. That's what I meant @sbatten, when the page is scrolled down, we need to shift that math by that amount of pixels.
Most helpful comment
There were 3 issues:
window.pageYOffset. That's what I meant @sbatten, when the page is scrolled down, we need to shift that math by that amount of pixels.