Skip to content

AppLayout marginals look broken on iPhone 15 #8449

Closed
vaadin/flow
#20836
@mstahv

Description

Description

The UX seems to be non-optional when a Vaadin PWA (using AppLayout) is used on modern iPhone. The bottom of the screen is these days rounded and contains the "home swipe icon". Thus the bottom bar has quite little room for view title and buttons/icons. This is not only causing visual issues, but it is also hard to hit the "hamburger icon" in the bottom left corner.

In the attached screenshot it actually looks better than in real life, as the screenshot includes the "hidden pixels" because of rounded screen, but the "home swipe icon" is there. In iPhone, the hamburger icon is right at the edge of the screen and the visible focus ring is cut in half.

IMG_7116

Expected outcome

There should be more marginal for iPhones and other modern smartphones with curved screens.

Minimal reproducible example

Create an app from start.vaadin.com with AppLayout.

Steps to reproduce

Create a Vaadin PWA and open in iPhone

Environment

Vaadin version(s): 24.6.0
OS: iOS (latest)

Browsers

Safari on iOS

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions