Make mobile issue capture a focus-contained modal journey #1047

Merged
timmy merged 4 commits from timmy/1046-mobile-issue-capture-modal into main 2026-08-17 23:07:37 +00:00
Showing only changes of commit 44aedfd623 - Show all commits

View File

@ -4698,7 +4698,7 @@
if (createIssueModalLifecycle) return createIssueModalLifecycle;
const root = qs('#create-issue-sheet');
const background = Array.from(document.body.children).filter(element =>
element !== root && element.tagName !== 'SCRIPT'
element !== root && element.tagName !== 'SCRIPT' && element.getAttribute('role') !== 'dialog'
);
createIssueModalLifecycle = createIssueCapture.createModalLifecycle({
root, background, document, requestClose:() => closeCreateIssueSheet(),