You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
30.0.2
What operating system are you using?
macOS
Operating System Version
macOS Sonoma 14.4.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
When loading a webpage with a WebContentsView, clicking on an <input type="file"> does not bring up a file selector.
This can be reproduced with the following test that brings up two windows:
Window 1 is a BrowserWindow with the HTML loaded in the BrowserWindow.
In this window, clicking on the "Choose File" button brings up the file selector.
Window 2 is a BrowserWindow with a WebContentsView added as a child view of its contentView.
In this window, clicking on the "Choose File" button does not bring up the file selector.
Preflight Checklist
Electron Version
30.0.2
What operating system are you using?
macOS
Operating System Version
macOS Sonoma 14.4.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
When loading a webpage with a
WebContentsView
, clicking on an<input type="file">
does not bring up a file selector.This can be reproduced with the following test that brings up two windows:
BrowserWindow
with the HTML loaded in theBrowserWindow
.In this window, clicking on the "Choose File" button brings up the file selector.
BrowserWindow
with aWebContentsView
added as a child view of itscontentView
.In this window, clicking on the "Choose File" button does not bring up the file selector.
file.html
index.js
Actual Behavior
When loading a webpage with a
WebContentsView
, clicking on an<input type="file">
does not bring up a file selector.Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: