Disable suggestpopup for Combobox

Hi,

I need to hide the “suggestpopup” from a custom component which extend Combobox.

I tried this :

.tree-chooser { .v-filterselect-button { display: none; } .v-filterselect-suggestpopup { display: none; } } The button is not display but suggestpopup still…

How can I do this ?
Thank you !

Best regards,

Steeve

Note that the suggest popup is not a child element of the combobox’s root, it’s separately placed in the overlays div at the document root. Check with e.g. Chrome’s Inspector to see.

-Olli

Yes I saw that, and it’s explained here :
https://vaadin.com/docs7/-/part7/framework/components/components-combobox.html

Then, how I can override the suggest popup style only for combobox with my style “tree-shooser” ?
I need to put : display : none; but I just want hide the suggest popup for my specific combobox, not all.

Thank you !

Best regards,

Steeve

Does the workaround in this ticket help:
https://github.com/vaadin/framework/issues/6927
?

This workaround works !
Great, thank you Olli. :slight_smile:

Best regards Steeve

Good to hear!

-Olli