flexnav icon indicating copy to clipboard operation
flexnav copied to clipboard

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

Open recon opened this issue 11 years ago • 2 comments

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.

recon avatar Jul 13 '14 23:07 recon

+1 for this change

tnorthcutt avatar Nov 25 '14 17:11 tnorthcutt

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..

DivaVocals avatar Jan 21 '15 18:01 DivaVocals