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
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:
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() )?
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: