- Go Monaco playground
- Add the code snippet attached below
- Hover over function name
hello
- Move the mouse to the popover
- The popover disappears
Expectation:
The popover should not disappear when the mouse moves to it
monaco-editor version: 0.21.1
Browser: Chrome
OS: MacOS
Playground code that reproduces the issue:
monaco.editor.create(document.getElementById("container"), {
language: "javascript",
overflowWidgetsDomNode: document.querySelector('body'),
fixedOverflowWidgets: true,
value: `
/**
* sample doc
*/
function hello() {
alert('Hello world!');
}`
});
document.querySelector('body').classList.add('monaco-editor');