From 87d23e0b501137746259b24cddd9041e52101616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Tue, 17 Mar 2026 18:50:11 +0100 Subject: [PATCH] nicolium: make closing the hotkeys modal navigate back to what opened it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/nicolium/src/features/ui/index.tsx | 4 +- packages/nicolium/src/stores/modals.ts | 116 +++++++++++--------- 2 files changed, 64 insertions(+), 56 deletions(-) diff --git a/packages/nicolium/src/features/ui/index.tsx b/packages/nicolium/src/features/ui/index.tsx index cd0393b55..c08736821 100644 --- a/packages/nicolium/src/features/ui/index.tsx +++ b/packages/nicolium/src/features/ui/index.tsx @@ -91,7 +91,7 @@ const UI: React.FC = React.memo(() => { }; const handleOpenHotkeysModal = () => { - openModal('HOTKEYS'); + openModal('HOTKEYS', undefined, document.getElementById('skip-link-hotkeys') || undefined); }; /** Load initial data when a user is logged in */ @@ -164,7 +164,7 @@ const UI: React.FC = React.memo(() => { -