Skip to content

V1.6 uir s7 viewer fixes - #98

Merged
jsong1218 merged 14 commits into
mainfrom
v1.6-uir-s7-viewer-fixes
Sep 4, 2026
Merged

V1.6 uir s7 viewer fixes#98
jsong1218 merged 14 commits into
mainfrom
v1.6-uir-s7-viewer-fixes

Conversation

@jsong1218

Copy link
Copy Markdown
Owner

No description provided.

…ontrols

Add @testing-library/user-event devDependency for the new interaction tests.
… expand overlay

Review round 1: FullscreenViewer focused itself on open but never trapped Tab,
leaving the background viewer-controls row keyboard-reachable behind the z-50
overlay. Reuses CommandPalette's event-capture trapTab idiom, generalized to a
standard focusable selector since the overlay's contents are arbitrary.

Also fixes an unmemoized onClose closure that re-ran FullscreenViewer's mount
effect (re-stealing focus) on any unrelated re-render while expanded, and
strengthens the bonds-toggle test to assert the prop reaches the mock mount,
not just the badge.
@jsong1218
jsong1218 merged commit 1b56b68 into main Sep 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant