<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>190564</bug_id>
          
          <creation_ts>2018-10-14 15:06:39 -0700</creation_ts>
          <short_desc>[iOS] Do not hide and show hardware keyboard suggestion bar when focus changes from one field to another</short_desc>
          <delta_ts>2019-01-16 18:55:50 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>WebKit Local Build</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>190017</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1469074</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2018-10-14 15:06:39 -0700</bug_when>
    <thetext>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 &lt;https://trac.webkit.org/changeset/236619/&gt; (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 &lt;https://iCloud.com&gt;.
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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1469132</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-10-14 21:54:15 -0700</bug_when>
    <thetext>&lt;rdar://problem/45262366&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1475242</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2018-11-05 12:59:50 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>