fix: fixed CSM-011

This commit is contained in:
2026-05-09 14:52:29 +02:00
parent f1445120fc
commit 37db52c024
3 changed files with 99 additions and 11 deletions

View File

@@ -173,6 +173,12 @@ export const AppShell = {
}
});
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);