nextcloud / nextcloud/server

Editing a comment that ends with a mention in Firefox does not work

Open
#35,296 4 comments 0 reactions 0 assignees View on GitHub

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 @user0 it 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

Open the contributing guide

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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.