Bug: Double click on last Text node selects next sibling block too
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 675
- Forks
- 18
- Avg merge
- 5h 11m
- Merged PRs (30d)
- 1
Description
A double click on the title <Text> element selects only the current block:
Selection: {"type":"container","path":["body"],"anchor_offset":4,"focus_offset":5}
However a double click on the description <Text> element that follows, selects both the current block and next block
Selection: {"type":"container","path":["body"],"anchor_offset":4,"focus_offset":6}
https://github.com/user-attachments/assets/6bafe9a4-4028-466d-bb1d-a6b3f51f6cd7
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the title and description double-click cases in the Svelte editor and inspect the reported Selection paths and offsets. No file or test is named in the issue, so trace the selection handling from the editor entry point. Done means double-clicking the description selects only its current block, matching the title behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100