You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixfoundation#9427
The hide delay of the visible dropdown is replaced by the delays of the
lastly triggered dropdown, so the hide function is never called on the
currently visible dropdown.
Remember and cancel the delay inside each element. So a visible
dropdown remember its hide delay even if several dropdown must be
hidden.
How can we reproduce this bug?
What did you expect to happen?
The menu should disappear.
What happened instead?
The menu is stuck.
It appears that the bug has something to do with this line of code in foundation.dropdownMenu.js:
var somethingToClose = $toClose.hasClass('is-active') || $toClose.find('.is-active').length > 0;
The
is-active
class is not available thus resulting in thesomethingToClose
variable being false even though the menu is still visible.Test case:
Codepen and video that recreates the issue:
Edited by @ncoden 04/12/16: add GIF
The text was updated successfully, but these errors were encountered: