Sadly no tooltips are shown when using the following code. ``` Bu

Sadly no tooltips are shown when using the following code.

        Button button = new Button("test");
        Tooltip tooltip = new Tooltip(button, TooltipPosition.BOTTOM, TooltipAlignment.LEFT);
        tooltip.setManualMode(true);
        tooltip.add("Test");
        button.addClickListener(event -> tooltip.open());
        add(button);

Do I have to configure something on startup? I am using Vaadin 17 with Spring Boot.

Sorry for the late answer. The tooltip has to be added to the layout as well:

Button button = new Button("test");
        Tooltip tooltip = new Tooltip(button, TooltipPosition.BOTTOM, TooltipAlignment.LEFT);
        tooltip.setManualMode(true);
        tooltip.add("Test");
        button.addClickListener(event -> tooltip.open());
// Tooltip should be added to layout as well 
        add(button, tooltip);