basecamp / basecamp/trix

Mention user using @ in basecamp trix.

Open
#918 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

Describe the bug or issue here…

##### Steps to Reproduce

1. In base camp trix press @ then user list show like snap https://prnt.sc/1922ix3
2. And select same user multiple time.
3. Now focus on 2nd user it will always focus 1st user https://prnt.sc/19230tn

##### Details
After mention multiple time same user focus on it confuse https://prnt.sc/19230tn

Expect Result: When I select 2nd user at that time focus should be applied to the 2nd user, not 1st user.

* Trix version: 1.3.1
* Browser name and version: Chrome and 91.0.4472.124
* Operating system: Windows

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the repeated-user mention scenario in Trix 1.3.1 using Chrome 91 on Windows, following the listed steps. Trace the mention selection and focus behavior, and consider the issue done when selecting the second identical mention focuses that occurrence rather than the first.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.