Verify paginated source history in the browser and fix QA route matching

This commit is contained in:
2026-09-06 10:51:13 +03:00
parent 68fe84e9c7
commit 8d6f3bc3ea
4 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export const TenderDetailModal = () => {
e.preventDefault(); e.stopPropagation(); setActiveTenderDetail(null); return;
}
if (e.key !== 'Tab') return;
const focusable = [...dialogRef.current.querySelectorAll('button, a[href], input, select, textarea, [tabindex]')]
const focusable = [...dialogRef.current.querySelectorAll('button, a[href], input, select, textarea, summary, [tabindex]')]
.filter(el => el.tabIndex >= 0 && !el.disabled && el.getClientRects().length && !el.closest('[inert]'));
const first = focusable[0], last = focusable.at(-1);
if (!first) { e.preventDefault(); dialogRef.current.focus(); }