-
Notifications
You must be signed in to change notification settings - Fork 16
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
Responsive menu sub-menu bug #50
Comments
Avoids bug #50 — also makes more efficient
Going to leave this one open but move Milestone v1.2. -- Hopefully by then we'll better understand what's causing the need for this workaround, or the source issue will have been resolved. |
It seems to me that this does not work on our site. |
As v1.2 is in RC, kicking this one to v1.3 -- which will bring a good bit of improvements to the JS in general. |
As this workaround seems to work well, I'm hesitant to fix it for v1.3. May push to v1.4. |
(Posting on behalf of Ardan Patwardhan)
The responsive "Also in this section" will sometimes not render sub-menus correctly. The behvaiour only occurs when there is one sub-menu in the sub-menu. If there are two, everything is fine.
The bug was first noticed on http://wwwdev.ebi.ac.uk/pdbe/emdb/emdb_2017
Attempts to destroy and/or re-init the foundation dropdown menu plugin do not seem to help.
In the meantime there is a workaround by adding an invisible child menu item:
Other single-child menus seem to work fine. Unsure if this is a Foundation bug or how we're making the responsive menu, though all appears to be fine.
We could push this workaround into foundationExtendEBI.js
The text was updated successfully, but these errors were encountered: