jquery-aim icon indicating copy to clipboard operation
jquery-aim copied to clipboard

It doesn't work properly after windows resize

Open vhanla opened this issue 10 years ago • 1 comments

Tested dropdown menu on Chrome running on Yosemite.

After resizing (shrinking) the window, it doesn't detect the right areas, showing the dropdown when cursor aims another location.

vhanla avatar Nov 05 '14 06:11 vhanla

Hi @vhanla, Thanks for submitting this bug. I'm aware of this. It also happens when the position of a button changes without window resize. In current implementation, it caches all the positions and sizes so that it doesn't recalculate again. For a quick workaround, I may add window.onresize callback.

cihadturhan avatar Nov 05 '14 10:11 cihadturhan