Исправить перекрытие навигации и обновить пакеты образов
CI / Rust Checks (pull_request) Successful in 22m46s
CI / UI Checks (pull_request) Successful in 6s
CI / Frontend E2E (pull_request) Successful in 11m48s
CI / Community Image Smoke (pull_request) Successful in 13m42s
CI / Deploy (pull_request) Skipped

This commit is contained in:
bsodfather committed 2026-10-09 19:13:02 +03:00
1 parent f48754aaf5
commit 249b777bec
6 files changed
+172 -5

No files matched your search

+10
View File
@@ -727,4 +727,14 @@
window.addEventListener('storage', function(event) { if (event.key === 'crank_onboarding_signal') refresh(); });
document.addEventListener('visibilitychange', function() { if (!document.hidden) refresh(); });
document.addEventListener('keydown', function(event) { if (event.key === 'Escape' && state.open) setOpen(false); });
// Shell menus own the pointer plane. Capture before their handlers stop
// propagation so the optional helper cannot cover an opened menu.
document.addEventListener('click', function(event) {
if (state.open && event.target instanceof Element
&& event.target.closest('.nav-avatar, .nav-hamburger')) {
// Keep keyboard focus on the shell control that the user just activated.
lastFocused = null;
setOpen(false);
}
}, true);
}());