Bug 234225

Summary: Address bar collapsed when focus moved before inputs with opened keyboard iOS 15
Product: WebKit Reporter: ondanila
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: akeerthi, bfulgham, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 15   
Hardware: iPhone / iPad   
OS: iOS 15   
Attachments:
Description Flags
Collapsed address bar none

Description ondanila 2021-12-13 00:23:48 PST
Created attachment 446974 [details]
Collapsed address bar

When you tap on input on mobile and open keyboard and then move focus out and close keyboard address bar expanded.
But if you move focus to another input while keyboard opened and close keyboard then address bar keep collapsed state after closing keyboard.

Expected: If address bar expanded before open keyboard then it expanded after closing keyboard.
Fact: If you move focus between inputs address bar will be collapsed after closing keyboard.

Steps to repeat bug:
1. Open codepen demo on iphone https://codepen.io/ondanila-the-flexboxer/pen/QWqGrZq (tested on iPhone 12)
2. Tap on first input.
3. Tap on second input while keyboard opened.
4. Close keyboard by moving focus out of input.
5. You see that address bar collapsed.
Comment 1 Alexey Proskuryakov 2021-12-14 15:35:26 PST
Not sure if this is a WebKit or Safari issue.
Comment 2 Radar WebKit Bug Importer 2021-12-20 00:24:17 PST
<rdar://problem/86712876>
Comment 3 Brent Fulgham 2022-02-12 23:04:00 PST
This behavior is by design.