• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WKWebView Allow file selection button to select directories
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WKWebView Allow file selection button to select directories


  • Subject: Re: WKWebView Allow file selection button to select directories
  • From: Tim Fletcher <email@hidden>
  • Date: Thu, 30 Jul 2015 15:23:20 +0100

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 <email@hidden> wrote:
>
> 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


References: 
 >WKWebView Allow file selection button to select directories (From: Tim Fletcher <email@hidden>)
 >Re: WKWebView Allow file selection button to select directories (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: WKWebView Allow file selection button to select directories
  • Next by Date: Re: Regarding these Olivia messages. Can we do something about the list security?
  • Previous by thread: Re: WKWebView Allow file selection button to select directories
  • Next by thread: NSManagedObject, NSString property retain vs copy
  • Index(es):
    • Date
    • Thread