You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit baf3e88
Browse filesBrowse the repository at this point in the historyBrowse files
fix(desktop): annotating inside a page's dialog no longer closes it
The annotation overlay lives in a closed shadow root under <html>, so a
page's document listeners see its pointer and focus events as coming from
outside any open dialog. Radix popovers closed as soon as the comment
field took focus, modal dialogs pulled focus back out of the comment field
and closed on toolbar clicks, and react-remove-scroll cancelled wheel
events over the editor.
Stop pointerdown, focus and wheel/touch events at the overlay host in the
bubble phase, after the overlay's own handlers, and stop focusout at <html>
when focus moves into the overlay.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments