Tiny scrollbars showing up in the autocomplete menu in Firefox

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.

Screen Shot 2023-04-22 at 8.12.15 AM

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!