[Webkit-unassigned] [Bug 220182] New: <input type="file">: click() doesn't trigger an file upload dialog while using an angular entry component (materals MatBottomSheetRef)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 28 02:02:12 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=220182

            Bug ID: 220182
           Summary: <input type="file">:  click() doesn't trigger an file
                    upload dialog while using an angular entry component
                    (materals MatBottomSheetRef)
           Product: WebKit
           Version: Other
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: l_ at freenet.de

I tried to trigger a click event on an input element with type "file" after an entry component was closed. But in a browser with WebKit Engine this doesn't work.

I have prepared an example on StackBlitz!

The result: https://angular-wdnpmb.stackblitz.io

In a WebKit-Browser: Click on the button "should open modal". A modal appears on bottom. Click on "file upload" but no file upload dialog appears!

The very simple and clean code: https://stackblitz.com/edit/angular-wdnpmb?embed=1

If you debug you can see that every thing is fine. The line 15 in app.component.ts is proceed correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201228/1424b522/attachment-0001.htm>


More information about the webkit-unassigned mailing list