Skip to content

Use 2D proximity for text layout hit testing - #15

Merged
gonzalezreal merged 1 commit into
mainfrom
fix-selection-hit-testing
Jan 18, 2026
Merged

gonzalezreal merged 1 commit into
mainfrom
fix-selection-hit-testing

Conversation

@gonzalezreal

Copy link
Copy Markdown
Owner

Fix text selection hit testing by choosing the closest layout using 2D proximity, preventing selections from snapping to the first column in multi-fragment rows. Fixes #10.

@gonzalezreal
gonzalezreal merged commit bacf20f into main Jan 18, 2026
3 checks passed
@gonzalezreal
gonzalezreal deleted the fix-selection-hit-testing branch January 18, 2026 17:38
peterkrueck pushed a commit to GigaDuckAI/textual that referenced this pull request Jul 22, 2026
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.

Table cell selection misses the last cell

1 participant