The input element for choosing a file works but for choosing a directory fails silently in UWP. I tried with latest stable and canary runtimes in the win32 sample app and the UWP WinUI2 sample app and found that the runtime doesn't make a difference, choosing a directory fails silently in UWP and works in Win32.
Description
The input element for choosing a file works but for choosing a directory fails silently in UWP. I tried with latest stable and canary runtimes in the win32 sample app and the UWP WinUI2 sample app and found that the runtime doesn't make a difference, choosing a directory fails silently in UWP and works in Win32.
Version SDK: 1.0.1018.0 Runtime: Canary 112.0.1722.0, and Stable 110.0.1587.63 Framework: WinUI2 UWP OS: Win11
Repro Steps In a WebView2 navigate to
https://jsfiddle.net/wkd9p5hj/
, pressRun
, and then click on the firstChoose Files
button.Expected: Open file dialog appears Actual: Nothing happens
AB#43679861