filamentgroup/jQuery-Custom-File-Input — pull request #3 by georgik (2012-03-03 16:11:46+00:00)
Title: Correction of problem with hover over Browse button

Hello.

I use jQuery 1.6.2.
I found problem with Browse button.

When you have Browse button below currently visible part of page and you have to scroll down, then Browse button will stop reacting on hover events. The problem is in computation of 'top' coordinate.

rochejul's solution - from issue #2 was to replace (https://github.com/filamentgroup/jQuery-Custom-File-Input/issues/2#issuecomment-4301656):
'top': e.pageY - upload.offset().top - $(window).scrollTop() - 3
by:
'top': e.pageY - upload.offset().top - 20

This is correct and it works for me. Tested with Google Chrome 17, Firefox 9, Internet Explorer 9, Safari 5.1