Hi Uli,

I could definitively have been clearer…

The button is indeed displayed, but clicking has no effect. I would like the 
user to be able to open up a “Chose file” dialog that is only enabled for 
directories. 

Can this be done somewhere in WKPreferences or WKWebViewConfiguration ?

However, the idea of just dropping the folder on a button, or drop zone of some 
sort is indeed a good workaround.

Cheers,
Tim

> On 30 Jul 2015, at 15:01, Uli Kusterer <witness.of.teacht...@gmx.net> wrote:
> 
> On 30 Jul 2015, at 15:27, Tim Fletcher <timothy.m.fletc...@gmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to