jquery-aim
jquery-aim copied to clipboard
It doesn't work properly after windows resize
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.
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.