Vaadin 12 Layout issue

Hi Pekka,

My test page is as follows:

import com.vaadin.flow.component.button.Button;
import com.vaadin.flow.component.orderedlayout.VerticalLayout;
import com.vaadin.flow.router.Route;
import com.vaadin.flow.theme.Theme;
import com.vaadin.flow.theme.lumo.Lumo;

@Route("")
@Theme(Lumo.class)
public class MainView extends VerticalLayout {

    public MainView() {
        Button button = new Button("Click me",
                event -> System.out.println("Clicked."));
        add(button);
    }
}

I use following versions, which are (correct me if I’m wrong) the 12.0.1 versions:

  • Flow Data v1.2.3
  • Flow Html Components v1.2.3
  • Flow Lumo/Material Theme v1.2.3
  • Flow OSGi v1.2.3
  • Flow Server v1.2.3
  • Flow Client v1.2.3
  • Component Button v1.2.0
  • Component Ordered Layout v1.2.0.

However, the problem still exists as before. Am I missing something?