Skip to content

fix(seer): Prevent text selection loss during mouse drag in explorer …#109395

Closed
isaacwang-sentry wants to merge 1 commit intomasterfrom
iwang/explorer_text_selection
Closed

fix(seer): Prevent text selection loss during mouse drag in explorer …#109395
isaacwang-sentry wants to merge 1 commit intomasterfrom
iwang/explorer_text_selection

Conversation

@isaacwang-sentry
Copy link
Copy Markdown
Member

When users click and drag to select text across block boundaries in the Seer Explorer panel, onMouseEnter handlers fire setFocusedBlockIndex(), causing React re-renders that destroy the active selection. Track mouse-button-down state via a ref and suppress focus changes during drag operations.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

…panel

When users click and drag to select text across block boundaries in the
Seer Explorer panel, onMouseEnter handlers fire setFocusedBlockIndex(),
causing React re-renders that destroy the active selection. Track
mouse-button-down state via a ref and suppress focus changes during drag
operations.

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Feb 25, 2026
@getsantry
Copy link
Copy Markdown
Contributor

getsantry bot commented Mar 19, 2026

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Mar 19, 2026
@getsantry getsantry bot closed this Mar 27, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant