-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
F6.5 Drilldown Submenu height calculation wrong when toggled #11416
Labels
Comments
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Jul 30, 2018
…oundation#11416 Changes: - Save the currently opened sub-menu as `$currentMenu` - When calculating the Drilldown wrapper height, use the currently opened menu height instead of the primary menu. Closes foundation#11416
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Jul 30, 2018
…oundation#11416 Changes: - Save the currently opened sub-menu as `$currentMenu` - When calculating the Drilldown wrapper height, use the currently opened menu height instead of the primary menu. Closes foundation#11416
15 tasks
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Jul 31, 2018
ncoden
added a commit
that referenced
this issue
Aug 4, 2018
fix: open Drilldrown with the currently opened (sub)menu height #11416
ncoden
added a commit
to ncoden/foundation-sites
that referenced
this issue
Aug 25, 2018
…eight-11416 for v6.5.0 c7ce8d5 fix: set the Drilldown height for on the currently opened (sub)menu foundation#11416 43c1fac test: add unit tests for Drilldown resizing on toggling 7f7dfd8 test: check the Drilldrown wrapper height instead of the element height 90c4e45 fix: set a default for the current menu in Drilldown before it is used 1db6a1f test: add unit test for the Drilldown height when reopened from a submenu foundation#11416 d4617ac clean: remove infinite timeout used for development in Drilldown tests Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
This was referenced Apr 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using the Drilldown Menu in combination with Responsive Navigation and Top Bar.
What should happen?
When Drilldown is closed and reopened after navigating to a submenu, height for ".is-drilldown"
should be height of ".is-drilldown-submenu.is-active"
What happens instead?
seems that height for ".is-drilldown" is recalculated from "ul.drilldown".
This results in overlapping active Submenu over Main Menu, if Main Menu is heighter
than Submenu
Possible Solution
Test Case and/or Steps to Reproduce
Test Case:
https://codepen.io/magic77/pen/vagxYL
How to reproduce:
Context
Your Environment
Checklist (all required):
The text was updated successfully, but these errors were encountered: