jaysalvat / ezdz

A jQuery plugin to turn any standard input type file into a nice drag & drop zone with validators and previews.
MIT License
89 stars 36 forks source link

Cursor pointer not working in chrome/opera #19

Open ncou opened 8 years ago

ncou commented 8 years ago

Hi,

Very nice plugin, on my chrome (or opera) browser, if i put my mouse on the top left position inside the dropzone, my mouse pointer is not a finger, but an arrow, and if i move the cursor a few pixel below, the cursor got the right icon.

It's because on the top left position it's the hidden "input" filed, and the cursor doesn't seems to inherit the right cursor property.

It's working fine on firefox, but not on the chromium/webkit browsers.

I used the following CSS to avoid this strange behaviour.

.ezdz-dropzone input[type=file]::-webkit-file-upload-button { cursor: pointer; }

http://codepen.io/anon/pen/dXyZZN

hope this help. Perhaps something to add to your CSS ?

jaysalvat commented 8 years ago

Thanks a lot! Sorry for the late response.

Could you please make a Pull Request.