Skip to content

fix(web): Text selection keeps going under the turn minimap - #76

Draft
mwolson wants to merge 1 commit into
contrib/mobile-creation-standinfrom
contrib/minimap-text-selection
Draft

mwolson wants to merge 1 commit into
contrib/mobile-creation-standinfrom
contrib/minimap-text-selection

Conversation

@mwolson

@mwolson mwolson commented Oct 10, 2026

Copy link
Copy Markdown
Owner

What Changed

Carries pingdotgg#16748 text-selection-minimap by @robertnisipeanu (three commits squashed), plus a regression test added here. Dragging a text selection left onto the turn minimap no longer opens the minimap preview or jumps the selection across the rest of the conversation: a held drag that started outside the strip passes through the strip and its turn buttons until the mouse is released, so the selection follows the text underneath. A press that starts on the strip still scrubs, and hover, click-to-jump and keyboard navigation are unchanged.

Why

The preview card sits after the message list in the DOM, so opening it mid-drag extended the selection over everything after the drag start, and the strip's hit area blocked the first letters of lines under it. Drop this layer at the refresh after pingdotgg#16748 merges upstream.

UI Changes

Before and after recordings are on pingdotgg#16748.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

@mwolson
mwolson added this pull request to stack #77 October 10, 2026 02:41
@mwolson
mwolson removed this pull request from stack #77 October 10, 2026 15:52
@mwolson
mwolson added this pull request to stack #81 October 10, 2026 15:53
@mwolson
mwolson removed this pull request from stack #81 October 10, 2026 16:45
@mwolson
mwolson added this pull request to stack #84 October 10, 2026 16:45
@mwolson
mwolson removed this pull request from stack #84 October 15, 2026 01:56
@mwolson
mwolson force-pushed the contrib/minimap-text-selection branch from c1826ab to 859c29e Compare October 15, 2026 01:56
@mwolson
mwolson added this pull request to stack #85 October 15, 2026 01:56
@mwolson
mwolson removed this pull request from stack #85 October 15, 2026 07:04
@mwolson
mwolson added this pull request to stack #87 October 15, 2026 07:04
Carries pingdotgg#16748 text-selection-minimap by robertnisipeanu
(three commits squashed). A held drag that starts outside the turn
minimap is a text selection: when it reaches the strip, the strip and its
turn buttons stop taking pointer events until release, so no preview
opens and the selection follows the text underneath. Drop this layer at
the refresh after pingdotgg#16748 text-selection-minimap merges upstream.
@mwolson
mwolson force-pushed the contrib/minimap-text-selection branch from 859c29e to f4b2cf0 Compare October 15, 2026 23:03

This branch has not been deployed

No deployments
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.

2 participants