Updating from 7.5.0 to 7.5.1 causes weird sizing and scrolling issues.
For one thing, Valo menus now always shows a scroll bar. For another some CustomLayouts are now sized improperly and their contents are overflowing over other components.
To verify it’s a 7.5.1 issue I rebuilt the Quicktickets-dashboard demo application under 7.5.1 and sure enough I’m seeing the same behavior.
By examples on the book-site (
http://demo.vaadin.com/book-examples-vaadin7/book/#layout.orderedlayout.sizing.relativesize ) following notice is shown: Notice - some examples are broken at the moment. Is it also the problem of 7.5.1? I have the same problem and wanted to check if the example simmilar to my application works fine - it does not. So I go back to 7.5.0 until Vaddin layouts get hopefully better in a new patch-release.
You can demonstrate the problem with ValoMenu by building the demo quicktickets application. Basically the layout of the menu always extends beyond the page which causes a scroll bar to appear on the navigation pane.
I’m also attaching 2 screenshots from our application showing how a CustomLayout (a wrapper aroound a VerticalLayout) is rendered differently between 7.5.0 and 7.5.1.
There was a small change in 7.5.1 to make handling of nested invalid layouts more consistent with non-nested invalid layouts (invalid layout == component with % size inside parent with undefined size).
This is what you can see in the quicktickets demo currently also, the code is wrong (part of the menu is a csslayout set to 100% height, which is too high → causes scrolbars). The fix for that is to fix the incorrect code in the demo. Previously the 100% height happened to be changed to undefined height, which is what it should have been set to in the code → no scrollbars.
I suspect you have something similar in your code, which has happened to work the way you have expected before.