I’m using the
autocomplete extension to provide custom suggestions in my editor. Sometimes the suggestions are too large and they are capped by the width of the completion popup. I would like for the popup to extend horizontally enough such that the whole suggestion fits. Alternatively, I’d like for the suggestions to be wrapped, even if they are a single very long word (i.e.
overflow-wrap: break-word). Is this doable? I’m pretty lost in figuring out what CSS I should be setting and how how to do it.
If it’s relevant, I’m using CodeMirror as a React component, through this package.
Thanks a lot!