On this page: How to style Component instances | Vaadin a method is used, “addOverlayClassName” but there is no such method in Select component.
I searched Vaadin · GitHub there is no such method, what am I missing? How to select specific Select component overlay for styling?
I’m not sure where you searched - but here you go: APIs for applying CSS classnames to overlays · Issue #3593 · vaadin/platform · GitHub
The method is called “setOverlayClassName”
Thank you, again there is an error in documentation (How to style Component instances | Vaadin). I am started using vaadin a few months ago, this is the second time I found an error in documentation.
In the documentation it is written as addOverlayClassName but it should be setOverlayClassName
Thanks for spotting that! I’ve opened a PR to fix it: docs: fix typo in method name by vursen · Pull Request #4164 · vaadin/docs · GitHub