Skip to content

fix(desktop): keep the window draggable while citing text - #962

Merged
nixuuu merged 1 commit into
devfrom
fix/restore-window-dragging-citation-popover
Nov 18, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/restore-window-dragging-citation-popover

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 18, 2026

Copy link
Copy Markdown
Member

Selecting agent text opens the floating Cite button. The desktop title bar treated it as a blocking popover and disabled native window dragging until it closed. The button stays within the content area, and its tooltip lets pointer events pass through, so both now preserve the title bar's drag regions. Menus and dialogs keep their existing drag handling.

Verification

  • In an isolated Electron 45.2.1 window on Linux, reproduced the blocked drag with the exception removed. With the fix, dragging moved the window and preserved the selection. Hovering over Cite preserved the drag region, and clicking it inserted the selected text. The selection context menu still suspended the drag region.
  • Checked the component in Chromium at desktop and phone widths in light and dark mode.
  • Passed the web package typecheck, lint on the edited TypeScript file, and git diff --check. Formatted the edited source files.
  • Native macOS behavior remains unverified locally. The full verification gate runs in GitHub CI.

Fixes: #18

@nixuuu
nixuuu enabled auto-merge (squash) November 18, 2026 12:34
@nixuuu
nixuuu merged commit c6ba148 into dev Nov 18, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/restore-window-dragging-citation-popover branch November 18, 2026 12:41
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