Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It doesn't work properly after windows resize #7

Open
vhanla opened this issue Nov 5, 2014 · 1 comment
Open

It doesn't work properly after windows resize #7

vhanla opened this issue Nov 5, 2014 · 1 comment

Comments

@vhanla
Copy link

vhanla commented Nov 5, 2014

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.

@cihadturhan
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants