fix: styling for a2ui surfaces was missing

This commit is contained in:
2026-05-28 11:03:22 +02:00
parent f7a4a9512c
commit 721b1ae626
5 changed files with 596 additions and 1 deletions

View File

@@ -9041,6 +9041,11 @@ removing illegal node: "${(childNode.outerHTML || childNode.nodeValue).trim()}"
runMenuRuntimeCommand(String(action));
}
});
this.handleEvent("url-state", ({ path }) => {
if (path && window.location.pathname + window.location.search !== path) {
window.history.replaceState({}, "", path);
}
});
window.addEventListener("bds:native-menu-action", this.handleNativeMenuAction);
window.addEventListener("keydown", this.handleShortcutKeyDown, true);
this.el.addEventListener("load", this.handleThumbnailLoad, true);