Skip to content

Bugfix: funny behavior after window resize due to faulty menu reset#160

Closed
recon wants to merge 1 commit intomrjasonweaver:masterfrom
recon:master
Closed

Bugfix: funny behavior after window resize due to faulty menu reset#160
recon wants to merge 1 commit intomrjasonweaver:masterfrom
recon:master

Conversation

@recon
Copy link

@recon recon commented Jul 13, 2014

This should fix #154 (and #144).
Whenever a window resize was made while one menu item was opened, the resetMenu() would not receive the proper context, subsequently any reset opeeration there would not be executed. Afterwards, the "toggling" would end up being inverted - hiding on mouseenter and showing on mouseleave.

Also, I'm cancelling any handler on .item-ul-li before they are recreated, as I've noticed some funky things in Chrome which seemed to point to the fact that they are piling up with each window resize.

@tnorthcutt
Copy link

+1 for this change

@DivaVocals
Copy link

It seems the author has not had time to implement a fix and this behavior is a deal breaker for me for me.. While I am happy to download and test this myself, would like to confirm that this FIXES the issue..

Part of the reason I am asking is that I see there is another pull request (#167) which ALSO claims it addresses the issues reported in #144 & #154. Not sure if these fixes WORK, and if they do, need some understanding as to which one is the RIGHT one..

This was referenced Jan 21, 2015
@recon recon closed this by deleting the head repository Dec 4, 2023
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

Successfully merging this pull request may close these issues.

Resizing window menu items still open issue

3 participants