Losing focus when mentioning users in comments
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 43
Description
After mentioning users in comments the cursor jumps to the left oft the field. When typing, it jumps back behind the name where it should have been all the time.
However, when users after mentioning others try to move the cursor behind the mentioned user, they always lose focus and cannot type anything at all.
https://github.com/user-attachments/assets/b59775cf-eeb2-4c21-8c6b-dc6fb8774b23
Contributor guide
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 issue in the comment field by mentioning a user, then try typing and placing the cursor after the mention. Trace the comment mention interaction and focus handling from there; done means the cursor stays focused, remains in the intended position, and typing works after a mention.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100