sketch-module-web-view icon indicating copy to clipboard operation
sketch-module-web-view copied to clipboard

Is it possible to have file picker dialog show up?

Open JonathanKolnik opened this issue 7 years ago • 4 comments

I want to have the webview interact with a file I upload. However when I click on "Choose File" no window pop ups.

<input type="file"/>

Is there a setting in the BrowserWindow config I can use or anything like that?

Thanks!

JonathanKolnik avatar Jun 07 '18 16:06 JonathanKolnik

My workaround was to create a function on the sketch side of things and call that with pluginCall

JonathanKolnik avatar Jun 10 '18 02:06 JonathanKolnik

That's a good workaround for now. We might be able to do something about when switching to the WKWebView (#50) using a WKUIDelegate

mathieudutour avatar Jun 18 '18 05:06 mathieudutour

Is there any code examples for this workaround?

pavel-martynov avatar Oct 23 '20 08:10 pavel-martynov

That's a good workaround for now. We might be able to do something about when switching to the WKWebView (#50) using a WKUIDelegate

@mathieudutour do you have demo for this implement?

michaeldong avatar Dec 02 '20 02:12 michaeldong