<?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>196287</bug_id>
          
          <creation_ts>2019-03-26 21:08:53 -0700</creation_ts>
          <short_desc>[iOS] File upload picker/popover is not dismissed when Escape or Command + . is pressed; can never activate again after pressing Escape on iPhone</short_desc>
          <delta_ts>2019-03-26 21:17:05 -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>WebKit Misc.</component>
          <version>Safari 12</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=196272</see_also>
          <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>
          
          <blocked>190571</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bates">dbates</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1521605</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2019-03-26 21:08:53 -0700</bug_when>
    <thetext>Seen on iOS.

On iPad, pressing Escape or Command + . when the file upload popover is open does nothing. But I would have expected it to dismiss the popover.

(*) On iPhone, pressing Command + . when the file upload picker is open does nothing. Pressing the Escape key dismisses the picker but now I cannot activate the picker again by tapping it. In fact, I can&apos;t even re-open the picker after reload. I needed to quit Safari!

Steps to reproduce (for those that can&apos;t be bothered to reads above or for machine in the all of us :D):

Ensure you have a hardware keyboard attached to your iPhone or iPad.

1. Visit &lt;data:text/html,&lt;input type=&quot;file&quot;&gt;&gt;
2. Tap the file input to open the picker/popup.
3. Press Escape on the keyboard (or Command + .)

Then nothing happens or you get into a bad state on iPhone (see remark (*)) if you pressed Escape. Anyway, the expected result is that the picker/popover is dismissed and you can re-activate it by tapping again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1521608</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-26 21:11:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/49311003&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>