Sunday, February 19, 2017

Dropping multiple files to Safari changes the file counter to 0

Leave a Comment

I wanna handle file drop in a webpage. If a user drag multiple files, there is a red circle counter of file count in OsX. It looks like this:

dragged files in OsX

When I drag them over Safari, the counter changes to 0:

enter image description here

Can I change this behaviour? to work the same way in safari?

1 Answers

Answers 1

TLDR; You cannot. I'm sorry.

More tests: It's on application (browser) level. When you drag to Safari any kind of files in any webapp with dropdown ability, even iCloud, you will have same result as you show. On Chrome you will have diferent results. Counter will show you last result. Ex. when you drag files directly from dictionary, you will got counter of two, but when you drag on safari and then move cursor on chrome you will got zero.

You must change Safari code to fix that ;)

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment