Bug 217325

Summary: [iOS] Blurring a text input and focusing a date input changes the scrollable area
Product: WebKit Reporter: Jandeilson De Sousa <jandeilson.desousa>
Component: FormsAssignee: Aditya Keerthi <akeerthi>
Status: RESOLVED FIXED    
Severity: Normal CC: akeerthi, cdumez, fabiano96, megan_gardner, pxlcoder, rafael.amorim, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: iPhone / iPad   
OS: Unspecified   
URL: https://jandeilson.github.io/experiments/bugs/217325/
Attachments:
Description Flags
Patch none

Description Jandeilson De Sousa 2020-10-05 11:46:11 PDT
When the user focus on any input of a form, and then focus on an input of the data type, the browser data component creates a spacing at the bottom that remains on the page after leaving the date component.

How to reproduce:
Focus on any input and then focus on an input date.

Perceptions:
Inputs in general seem to create this spacing on the page, but the data type creates a greater spacing and does not cleaning. The spacing stays on the page and is only cleared when you refresh the page or select any other input again.
Comment 1 Radar WebKit Bug Importer 2020-10-05 17:52:07 PDT
<rdar://problem/69979171>
Comment 2 Alexey Proskuryakov 2020-10-05 17:54:42 PDT
*** Bug 217324 has been marked as a duplicate of this bug. ***
Comment 3 Rafael Amorim 2020-10-06 07:07:42 PDT
I can reproduce on iOS 14.0 and 14.0.1

Codesandbox Example:
https://ckxq2.csb.app/
Comment 4 Fabiano Moreira 2020-10-06 07:44:39 PDT
It's happening to me. It's generating scroll and duplicating elements.
Comment 5 Aditya Keerthi 2020-10-07 12:57:05 PDT
Created attachment 410768 [details]
Patch
Comment 6 Rafael Amorim 2020-10-08 05:05:25 PDT
Thanks Aditya Keerthi
Comment 7 Aditya Keerthi 2020-10-08 08:07:41 PDT
Thank you for the test case!
Comment 8 EWS 2020-10-08 08:10:10 PDT
Committed r268182: <https://trac.webkit.org/changeset/268182>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 410768 [details].