Bug 217325 - [iOS] Blurring a text input and focusing a date input changes the scrollable area
Summary: [iOS] Blurring a text input and focusing a date input changes the scrollable ...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 14
Hardware: iPhone / iPad Unspecified
: P2 Normal
Assignee: Aditya Keerthi
URL: https://jandeilson.github.io/experime...
Keywords: InRadar
: 217324 (view as bug list)
Depends on:
Reported: 2020-10-05 11:46 PDT by Jandeilson De Sousa
Modified: 2020-10-08 08:10 PDT (History)
9 users (show)

See Also:

Patch (7.80 KB, patch)
2020-10-07 12:57 PDT, Aditya Keerthi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.

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
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:
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]
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].