-
Notifications
You must be signed in to change notification settings - Fork 0
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
:visible class #3
Comments
yeah, that is probably a good idea :) |
I'm using the :visible selector on a site. It works fine on page load, but when the window is resized, the matchheight function needs to be called again to recognize which elements are (now) visible and which elements are not. Otherwise, it breaks the functionality and considers an 'invisible' element's height in the matching equation. Can we please add a .resize() function to update the selectors, per liabru/jquery-match-height#60 (comment) (they're using an ajax example but we can add this to window.resize() )? Thx DB |
I recently found this fix on the jQuery match height github
liabru/jquery-match-height#126
to ignore elements that were not visible. This is helpful with a SoulSections navigation bar, so I can equalize the heights of the elements, then use CSS to translate shorter elements to their container's center (thereby aligning all elements in a straight line).
Can we add :visible to our matchheight selectors?
Thanks,
DB
The text was updated successfully, but these errors were encountered: