Bug 232237 - Safari smart app banner increases safe bottom offset
Summary: Safari smart app banner increases safe bottom offset
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-25 06:33 PDT by Egor Smirnov
Modified: 2022-02-10 10:08 PST (History)
6 users (show)

See Also:


Attachments
bug reproducing (14.41 MB, video/mp4)
2021-10-25 06:33 PDT, Egor Smirnov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Smirnov 2021-10-25 06:33:42 PDT
Created attachment 442364 [details]
bug reproducing

We have the bottom tabs bar on our website which is fixed positioned at the bottom. When the user starts scrolling to the top, safari bottom bar and smart app banner start appearing, but the safe bottom offsets are calculating wrong.
On the attached videos you can see debug boxes where yellow is marks "position: fixed" behavior. When I enable the "Safe area margin" checkbox, it would add safe bottom offset to the margin. I've recorded both top and bottom bar positions which were introduced in iOS 15.
https://m.vk.com/?act=_apple_viewport_bug
Comment 1 Radar WebKit Bug Importer 2021-10-26 19:43:36 PDT
<rdar://problem/84692042>
Comment 2 Brent Fulgham 2022-02-10 10:08:34 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.

This issue should be fixed now in iOS 15.4 Beta.