Autocomplete portal support

Big user of autocomplete here, massive kudos on v6. Right now I’m running into an edge case where my code mirror editor as well as autocomplete menu all renders within a subtree, and autocomplete options are sometimes covered by other elements on parental level. Z-index settings won’t fix it since it’s different stacking context.

Ideally I’d like a portal option on auto complete, with which we can pass in something like a react portal element, so the autocomplete extension will render things within that element. The option can be made framework/library agnostic. Would this change be preferable and is contribution welcomed by any chance?

Thanks,

Hong

The autocompletion tooltip is drawn using the library’s tooltip functionality, and I think the parent option to tooltips is the feature you are asking for.

1 Like

Totally missed that it’s a tooltip option. Thank you marijn!