Skip to content
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

Match Height Of Hidden Elements #160

Open
CrispySinger opened this issue Aug 21, 2017 · 1 comment
Open

Match Height Of Hidden Elements #160

CrispySinger opened this issue Aug 21, 2017 · 1 comment

Comments

@CrispySinger
Copy link

Hi,

I checked the existing issues, but couldn't see one that matched what I'm looking for. I may be incorrect, sorry if so.

I'm aiming to use match height within a mega-menu navigation, due to the children items being set to display until toggle / hover, the height isn't grabbed. I tried resorting to changing opacity values over display none but that may be more problematic down the line.

I'm just wondering if there is already a solution for getting the height of hidden elements already, or if I may be required to put something in place to tackle this issue.

Cheers,
Jordan Smith

@liabru
Copy link
Owner

liabru commented Sep 17, 2017

Yes there is code to handle matching heights of hidden elements, though there may be edge cases where it could fail. My suggestion is to ensure visibility of your elements before matching then hiding them, if possible. Otherwise you'll need to supply a link demonstrating the issue to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants