<?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>227429</bug_id>
          
          <creation_ts>2021-06-27 09:06:24 -0700</creation_ts>
          <short_desc>Dismissing software keyboard causes &lt;select&gt; menu to pop up</short_desc>
          <delta_ts>2021-06-27 10:29:38 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>UI Events</component>
          <version>Safari 14</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 14</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeff Johnson">opendarwin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>mitz</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1772933</commentid>
    <comment_count>0</comment_count>
      <attachid>432352</attachid>
    <who name="Jeff Johnson">opendarwin</who>
    <bug_when>2021-06-27 09:06:24 -0700</bug_when>
    <thetext>Created attachment 432352
Sample HTML reproduction case

Steps to reproduce:
1. Open attached HTML in Safari iOS.
2. Touch inside the &lt;input&gt; element to show the software keyboard.
3. Touch the keyboard widget to dismiss the software keyboard.

Actual results: The &lt;select&gt; element menu pops up.

Expected results: The &lt;select&gt; element menu does not pop up.

I can reproduce this bug with every configuration I&apos;ve tested: iPhone and iPad devices, iOS 14, iOS 15 beta, and iOS 12.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1772934</commentid>
    <comment_count>1</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2021-06-27 09:39:19 -0700</bug_when>
    <thetext>&gt; 3. Touch the keyboard widget to dismiss the software keyboard.

To clarify — is this referring to the &quot;Done&quot; button on the software keyboard?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1772935</commentid>
    <comment_count>2</comment_count>
    <who name="Jeff Johnson">opendarwin</who>
    <bug_when>2021-06-27 09:44:39 -0700</bug_when>
    <thetext>(In reply to Wenson Hsieh from comment #1)
&gt; &gt; 3. Touch the keyboard widget to dismiss the software keyboard.
&gt; 
&gt; To clarify — is this referring to the &quot;Done&quot; button on the software keyboard?

No, the ^ widget. The intention is to cancel and not enter any text into the input.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1772938</commentid>
    <comment_count>3</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2021-06-27 09:54:33 -0700</bug_when>
    <thetext>(In reply to opendarwin from comment #2)
&gt; (In reply to Wenson Hsieh from comment #1)
&gt; &gt; &gt; 3. Touch the keyboard widget to dismiss the software keyboard.
&gt; &gt; 
&gt; &gt; To clarify — is this referring to the &quot;Done&quot; button on the software keyboard?
&gt; 
&gt; No, the ^ widget. The intention is to cancel and not enter any text into the
&gt; input.

The ˄ and ˅ buttons above the software keyboard move focus between form controls. Pressing ˄ focuses the previous form control (in this case a select, which shows a popover or context menu, depending on iOS version).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1772939</commentid>
    <comment_count>4</comment_count>
    <who name="Jeff Johnson">opendarwin</who>
    <bug_when>2021-06-27 09:58:04 -0700</bug_when>
    <thetext>You&apos;re right, I was looking at the wrong button to dismiss the keyboard. Sorry! I&apos;m marking this bug as invalid.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>432352</attachid>
            <date>2021-06-27 09:06:24 -0700</date>
            <delta_ts>2021-06-27 09:06:24 -0700</delta_ts>
            <desc>Sample HTML reproduction case</desc>
            <filename>select.html</filename>
            <type>text/html</type>
            <size>320</size>
            <attacher name="Jeff Johnson">opendarwin</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CjxtZXRhIGNoYXJzZXQ9InV0
Zi04IiAvPgo8dGl0bGU+U2VsZWN0IEJ1ZzwvdGl0bGU+CjwvaGVhZD4KPGJvZHk+Cgo8aDE+U2Vs
ZWN0IEJ1ZzwvaDE+Cgo8c2VsZWN0IHNpemU9ND4KICA8b3B0aW9uIHNlbGVjdGVkPk9wdGlvbiAx
PC9vcHRpb24+CiAgPG9wdGlvbj5PcHRpb24gMjwvb3B0aW9uPgogIDxvcHRpb24+T3B0aW9uIDM8
L29wdGlvbj4KICA8b3B0aW9uPk9wdGlvbiA0PC9vcHRpb24+Cjwvc2VsZWN0PgoKPHA+PGlucHV0
IHR5cGU9InRleHQiPjwvcD4KCjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>