Skip to content

v0.1.1

Latest

Choose a tag to compare

@TBarregren TBarregren released this 17 Jul 20:18
· 3 commits to main since this release

Fixed

  • The scroll lock no longer breaks a sticky header. It used overflow: hidden, which on the root element turns it into a scroll container and un-sticks any position: sticky header while the page is scrolled: opening a mega menu after scrolling down dropped the header (and the menu panel hung off it) off the top of the screen, and the frozen page couldn't be scrolled to reach it – only Esc released it. The lock now uses overflow: clip, which locks the page identically but establishes no scroll container, so the sticky header keeps sticking and the menu opens in place.

Full changelog: https://github.com/Kntnt/kntnt-modal-mega-menu-ollie/blob/v0.1.1/CHANGELOG.md