Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Layout Scrolling Behaviour not working anymore #20167

Open
timomeinen opened this issue Oct 7, 2024 · 0 comments
Open

App Layout Scrolling Behaviour not working anymore #20167

timomeinen opened this issue Oct 7, 2024 · 0 comments

Comments

@timomeinen
Copy link

Description of the bug

According to the App Layout Documentation we can setup "Auto Height" and "Full Height (100%)". Although the iFrame examples in the documentation works, the same code does not work in a current project created on Vaadin Start.

Problem:
Scrolling behaviour does not honour the body anymore.

As can be seen neither of the two examples allow scrolling of the whole body anymore:

Bildschirmfoto 2024-10-07 um 16 08 36 Bildschirmfoto 2024-10-07 um 16 08 33

I believe the problem has something to do with the generated index.html and the div#outlet: The height is now set to 100vh and this causes problems.

Bildschirmfoto 2024-10-07 um 16 14 06

Expected behavior

Scrolling behaviour according to documentation.

Minimal reproducible example

https://github.com/timomeinen/app-layout-height-issue

Versions

  • Vaadin / Flow version: 24.4.13
  • Java version: 21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🔎 Investigation
Development

No branches or pull requests

2 participants