Selection issues (mobile and desktop)

Open
#336 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript

Research direction

Start with the six linked videos and reproduce the selection behavior on mobile and desktop. There are no files, tests, or entry points named in the issue; done means addressing the listed caret scrolling, hitbox, node-gap highlighting, outline, nested-selection, toolbar, and link-annotation problems.

Written by the indexing model from the issue text.

Description

All the below videos have audio (please unmute)

Issue 1 Video
  • - [ ] 1. Virtual Keyboard hides caret beneath (doesn't scroll selection into view)
Issue 2 Video
  • - [ ] 2. iOS URL bar invisible hitbox overlaps purple bottom text selection grab circle
Issue 3 Video
  • - [ ] 3. Node selection renders highlight of node gap (<br> element). Make it transparent.
Issue 4 Video
  • - [ ] 4. Node selection outlines overlap creating double width line. Boundary should be strong on outside not inside. Also offset selection overlay from screen edge
Issue 5 Video
  • - [ ] 5. Text highlights during node selection cause confusion and potential data loss. Affects node selections than span a stack and partial selections of nested nodes in node array. Ideas: A) dissolve groups in data model too, not just in css (display: contents); B) Allow partial node selection, not expanding to full parent node; C) Use a different selection strategy for nodes on mobile, see Apple Notes selection of table cells on iOS
Issue 6 Video
  • - [ ] 6. A) Flickering Toolbars on node selection on mobile; 6. B) Surprising that it highlights the link annotation when the link annotation is inside a selection that is larger than the annotation range
Dominant language
TypeScript
Stars
691
Forks
20
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from michael/svedit

All issues in michael/svedit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.