Bug 232543 - iOS 15 address bar with fixed root element
Summary: iOS 15 address bar with fixed root element
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-31 01:50 PDT by mallchel
Modified: 2021-11-05 04:35 PDT (History)
4 users (show)

See Also:


Attachments
gap from address bar (398.46 KB, image/png)
2021-10-31 01:50 PDT, mallchel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mallchel 2021-10-31 01:50:41 PDT
Created attachment 442932 [details]
gap from address bar

Problem:
We have a gap after the bottom address bar collapse


Environment:
IOS 15


Steps:
0. The address bar should be at the bottom position
1. - content inside the root element doesn't stretch it outside the viewport
   - Or we use position: fixed on the root element
2. Start using arrows in the keyboard to tabulation between the input fields
3. Close keyboard


Expected result:
The bottom address bar is returned to the expanded state.

Actual result:
The bottom address bar is collapsed and we see the GAP because height: 100% smaller than the allowed viewport space


Link to the live demo:
https://codesandbox.io/s/pedantic-jennings-hjv3t
Comment 1 Radar WebKit Bug Importer 2021-10-31 20:47:55 PDT
<rdar://problem/84867835>
Comment 2 Simon Fraser (smfr) 2021-11-02 13:48:26 PDT
This is an issue in MobileSafari code, and not WebKit, so it's tracked by internal bug reports.
Comment 3 mallchel 2021-11-03 06:07:43 PDT
Should I create another issue somewhere?
Comment 4 Simon Fraser (smfr) 2021-11-03 09:08:56 PDT
No need, this is already tracked.
Comment 5 Brent Fulgham 2021-11-03 10:26:07 PDT
(In reply to mallchel from comment #3)
> Should I create another issue somewhere?

Have you tested this on iOS 15.1 (19B74)? We believe this bug is fixed in that public release.
Comment 6 mallchel 2021-11-05 04:23:23 PDT
> Have you tested this on iOS 15.1 (19B74)? We believe this bug is fixed in that public release.

Yep, I just tested this case on iOS 15.1, and I've seen the same problem.

Note that in order to reproduce the bug, you need to tab between inputs with the navigation arrows on your keyboard and then close the keyboard.
Comment 7 mallchel 2021-11-05 04:35:25 PDT
Wow!) But in iOS 15.2 seems like all works as expected.