We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c96d0c0 commit 6b8fff3Copy full SHA for 6b8fff3
src/vs/base/browser/ui/contextview/contextview.ts
@@ -296,7 +296,11 @@ export class ContextView extends Disposable {
296
around = {
297
top: anchor.posy,
298
left: anchor.posx,
299
- width: 1,
+ // We are about to position the context view where the mouse
300
+ // cursor is. To prevent the view being exactly under the mouse
301
+ // when showing and thus potentially triggering an action within,
302
+ // we treat the mouse location like a small sized block element.
303
+ width: 2,
304
height: 2
305
};
306
}
0 commit comments