Has anyone else encountered this or know why it happens (see what the red arrows are pointing to in the screenshot)? I’m having trouble investigating because clicking into devtools makes the autocomplete disappear. It only happens in Firefox as far as I can tell. I’m running Firefox 112.0.1 on macOS 12.6.5.
setTimeout(() => {debugger}, 5000)
is the way I usually handle the close-on-blur issue. I suspect you have some local styles that cause this, but inspecting the elements will probably clear this up.
1 Like
That was a very helpful tip; thank you!
I haven’t exactly been able to figure out why it’s happening, and it doesn’t seem to happen consistently even in Firefox, but for now it’s resolved by just setting an overflow-y: hidden
style on .cm-tooltip-autocomplete > ul > li
.
I’m really loving the CodeMirror 6 API overall, by the way. Awesome work!