| Summary: | safe-area-inset values not working for websites added to home screen | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Martin <martiminchev> | ||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | bdakin, ik, luming_yin, martiminchev, thorton, webkit-bug-importer, wenson_hsieh | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Safari 15 | ||||||||
| Hardware: | iPhone / iPad | ||||||||
| OS: | iOS 15 | ||||||||
| Attachments: |
|
||||||||
|
Description
Martin
2022-02-10 08:27:27 PST
Created attachment 451541 [details]
Screenshot of the issue in portrait
Created attachment 451542 [details]
Screenshot of the issue in landscape
Is it possible you forgot to add "viewport-fit=cover" in the <meta name="viewport" /> value? That said, the document should not be drawn behind the gesture pill without this flag, so looks like that's the actual bug? Adding "viewport-fit=cover" fixes the problem for added-to-homescreen websites. However, for regular Safari it's not needed. In landscape orientation, the inset is available without it. Is this inconsistency intended behavior? |