Vaadin HybridMenu shift with scrollpanel
问题 I want to add scrollbar to my web app so I can see every components on my browser. Red rectangle in picture below is Grid. Grid is placed inside class that extends VerticalLayout and implements View. Green color shows my scrollbar which is added to HybridMenu instance. HybridMenu root = HybridMenuBuilder.get() .setContent(new VerticalLayout()) .setMenuComponent(EMenuComponents.LEFT_WITH_TOP) .setConfig(menuConfig) .build(); root.addStyleName("scrollpanel"); root.setSizeFull(); super