fix: reset capture viewport after keyboard navigation

This commit is contained in:
timmy committed 2026-08-17 22:58:22 +00:00
1 parent 89c25369fc
commit 58299311d0
2 files changed
+7 -3

No files matched your search

+2
View File
@@ -53,6 +53,8 @@ function createIssueModalLifecycle({ root, background = [], document, requestClo
active = false;
backgroundState.forEach(([element, inert]) => { element.inert = inert; });
backgroundState = [];
const panel = root.querySelector('.create-issue-panel');
if (panel) panel.scrollTop = 0;
if (restore && launcher?.isConnected) launcher.focus();
launcher = null;
},