Is there a size restriction on the content area for AppLayout? I created an App using Start.Vaadin.com and the Dashboard View is not displaying beyond a certain vertical size. The vertical scrolling is working but it seems to be cropping the bottom part of the content area.
When I run the app in the debugger, it works and allows me to scroll to the bottom, but never in production mode.
Main is just a Div with semantics identifying it as the main content area of the UI – this is correct usage of Main and actually better than Div for accessibility. In terms of rendering, it is identical to Div.
AppLayout does not provide any scrolling out of the box. The page root does supply scrolling of however, and in many cases the content placed into the default slot of AppLayout scrolls correctly thanks to that, but that depends on many other factors such as the height applied to both the content and the entire layout stack between it and the page root. In other words, it can easily be broken by various details. I would definitely recommend a Scroller (set to 100% height and width) for achieving a reliable scroll area. The view itself should also be set to 100% size.
Thank you for the explanation, I was unaware. Could you please point me to where I can find docs mentioning this sort of thing?
The docs I found:https://vaadin.com/docs/latest/
are more like a guide, rather than documentation of what the methods available are, or what classes there is, or your explanation for example.
Although both of those really just tell you which HTML elements those classes represent, so you’re kind of expected to know what those HTML elements are, or find that information elsewhere, as it would be quite impossible for Vaadin’s documentation to cover all of HTML as well.