Editing a comment that ends with a mention in Firefox does not work
Open
Nobody has claimed this yet.
1. to develop
30-feedback
bug
feature: comments
javascript
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Editing a comment that ends with a mention in Firefox does not work:
- Use Firefox
- Send a new comment which is just a mention (like
@user0) - Edit that comment
- The cursor does not appear, and typing is not reflected in the comment. On the other hand, if the message was
hello @user0it is possible to place the cursor at the beginning with the mouse and type there, but not at the end.
Originally posted by @danxuliu in https://github.com/nextcloud/server/pull/35187#pullrequestreview-1185707572
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 comment-editing steps in Firefox, first with a comment containing only a mention and then with text before the mention. Trace the frontend comment editor and mention handling to identify why the cursor and typing fail at the end; done when both cases allow normal editing.
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
- 38/100