Skip to content

AppLayout content unreachable on iPhone with Aura theme #9038

@mstahv

Description

@mstahv

Description

Vaadin: 25.1.0 | Theme: Aura | Device: iPhone (Safari)

When AppLayout uses drawer mode (addToNavbar(true, ...)), the content area doesn't scroll fully on iPhone. Bottom elements (e.g. a payment button) are permanently hidden behind the layout chrome. Works correctly with Lumo theme.

Reproducer

@Route
public class MainView extends VerticalLayout {

    @Layout
    static class MyLayout extends AppLayout {{
        addToNavbar(true, new Paragraph("This is my navbar"));
        addToDrawer(new Paragraph("Menu"));
    }}

    public MainView() {
        add("Long content that requires scrolling on mobile:");
        for (int i = 0; i < 10; i++) {
            add(new Paragraph("filler content"));
        }
        add(new Button("Click me (if you can)",
                event -> add(new Paragraph("Clicked!"))));
    }
}

Expected

All content is scrollable and reachable on iPhone.

Actual

Bottom of the content is cut off; buttons at the end of the view cannot be tapped.

Workaround

Use Lumo theme instead of Aura.

Expected outcome

Minimal reproducible example

Steps to reproduce

Environment

Vaadin version(s):
OS:

Browsers

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions