WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
190564
[iOS] Do not hide and show hardware keyboard suggestion bar when focus changes from one field to another
https://bugs.webkit.org/show_bug.cgi?id=190564
Summary
[iOS] Do not hide and show hardware keyboard suggestion bar when focus change...
Daniel Bates
Reported
2018-10-14 15:06:39 PDT
It is annoying to see the hiding and showing of the keyboard suggestion bar when a page programmatically focuses a text field while a person is currently focused in a text field. We should look to see if we can detect such focus changes and avoid this. Following <
https://trac.webkit.org/changeset/236619/
> (
bug #190017
) we now allow a page to programmatically focus a text field on iOS when a hardware keyboard is attached. You can observe this annoyance by performing the following steps with a build of iOS WebKit at
r236619
or later and with a hardware keyboard attached: 1. Visit <
https://iCloud.com
>. 2. Tap the share sheet. Then tap Request Desktoo Site. 3. Once the page loads and the username field is focused, enter your username. 4. Press the return key on the keyboard. Then the keyboard suggestion bar hides momentarily before appearing again as the password field is now focused.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-10-14 21:54:15 PDT
<
rdar://problem/45262366
>
Daniel Bates
Comment 2
2018-11-05 12:59:50 PST
iCloud.com is explicitly calling blur() on the username field and calling focus() on the password field. As opposed to just calling focus() on the password field. The former causes us to hide and show the keyboard suggestion bar. The latter would not.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug