Releases: Kntnt/kntnt-modal-mega-menu-ollie
Releases · Kntnt/kntnt-modal-mega-menu-ollie
Release list
v0.1.1
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 anyposition: stickyheader 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 usesoverflow: 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
v0.1.0
First public release. Makes Ollie Menu Designer's Dropdown Menu behave like a modal: it locks the page behind an open menu and caps a tall desktop menu so it scrolls inside itself.
Added
- Modal behaviour for Ollie Menu Designer's Dropdown Menu: while a menu is open the page behind it is locked, so trying to scroll the menu no longer scrolls the page instead. The lock is keyed to any open menu and lifts the moment the last one closes. The plugin adds no classes and no styling of its own.
- An internal scroll for a desktop menu taller than the viewport, so its lower part can be reached instead of spilling past the bottom of the screen with no way to get to it. The panel's height is measured live, so this composes with any plugin that repositions the panel. This is a temporary workaround for a gap in Ollie Menu Designer, which caps the panel on mobile but not on desktop; it can be dropped once upstream does the same on desktop. Reported to OllieWP.
Requires Plugins: ollie-menu-designerheader, so WordPress refuses to activate the plugin without Ollie Menu Designer and deactivates it if Ollie Menu Designer goes away.- A PHP version guard in the main plugin file, as a second line of defence for installs that load the plugin outside the normal activation path.
- Self-updating from the project's GitHub releases: the plugin appears under Dashboard → Updates like any other, checking the repository named by its own
Plugin URIheader at most once every six hours. A release is only offered when it carries a ZIP asset served from GitHub's own download hosts, so a tampered header cannot redirect the update installer at an attacker's package. build-release-zip.sh, which builds a release zip containing only runtime files, and can create or update the GitHub release and upload the asset. The asset name carries no version segment, keeping thelatest/downloadURL stable.
Full changelog: https://github.com/Kntnt/kntnt-modal-mega-menu-ollie/blob/v0.1.0/CHANGELOG.md