Re: WKWebView Allow file selection button to select directories
Re: WKWebView Allow file selection button to select directories
- Subject: Re: WKWebView Allow file selection button to select directories
- From: Uli Kusterer <email@hidden>
- Date: Thu, 30 Jul 2015 16:01:21 +0200
On 30 Jul 2015, at 15:27, Tim Fletcher <email@hidden> wrote:
> In a WKWebView I am rendering the following button
>
> <input type="file" webkitdirectory directory multiple>
>
> However this is not working. I have downloaded the latest version of Webkit.
Define "this is not working". No "Choose" button shows up? You can't select a folder in the open panel that comes up? You can't drag a folder onto the button?
When I try this in Safari, I get a button, and I can drag a folder on it, but the "Choose" button is disabled when I'm inside a folder. So to me it looks like a bug with a workaround (just drag-and-drop onto the button instead). Maybe you can theme it so it is just a "drop here" graphic instead of a button?
Cheers,
-- Uli Kusterer
"The Witnesses of TeachtText are everywhere..."
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden