feat: Update version to 2.2.5 and enhance CustomHeader handling in MegaMenu

This commit is contained in:
Torsten Brendgen
2026-08-23 21:59:29 +02:00
parent 767d6bfd10
commit a40a5ddc57
7 changed files with 59 additions and 14 deletions
+4
View File
@@ -45,6 +45,10 @@ var applicationCustomizer = read('src/extensions/megaMenu/MegaMenuApplicationCus
assert('modern loading status is cleared before menu render',
applicationCustomizer.indexOf('this._clearStatus();') >= 0 &&
applicationCustomizer.indexOf('private _statusElement: HTMLElement | undefined;') >= 0);
assert('late CustomHeader is observed and receives the menu host',
applicationCustomizer.indexOf('new MutationObserver') >= 0 &&
applicationCustomizer.indexOf('customHeader.appendChild(this._menuContainer)') >= 0 &&
applicationCustomizer.indexOf('this._stopCustomHeaderObserver();') >= 0);
[
'white',
'neutralLighter',