André Schild
André Schild

Reputation: 4754

Vaadin flow AppLayout and full height grid as content

I'm currently porting over a vaadin 8 app and wish to use the AppLayout for this. So far everthing is, ok, with one exception.

The AppLayout does not support a full height gri/tree grid as it's main content, as documented in the component guide.

Any work arround this nasty problem?

https://vaadin.com/docs/latest/ds/components/app-layout/#scrolling-behavior

Setting the grid too 100% height and the content to 100% height gives me two scrollbars

enter image description here

Upvotes: 2

Views: 1201

Answers (1)

Jouni
Jouni

Reputation: 2918

To support full height components within App Layout, set its height to 100%.

See the (now updated) documentation for App Layout: https://vaadin.com/docs/latest/ds/components/app-layout/#scrolling-behavior

Upvotes: 1

Related Questions