Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Selecting a user to add in room : the wrong user is selected #220

Open
estellecomment opened this issue Mar 8, 2022 · 1 comment
Open
Labels
bug Something isn't working v2.3.7 v2.4.0 web tchap-web

Comments

@estellecomment
Copy link
Contributor

Create a room
Add users
Type letters to get suggestions
Press "enter" to add the selected user : the wrong user is added. It adds the user just above the selection.

Not present in 2.3.7

@estellecomment estellecomment added bug Something isn't working web tchap-web v2.4.0 labels Mar 8, 2022
@celiacheff celiacheff self-assigned this Mar 10, 2022
@celiacheff
Copy link
Contributor

So it's an already existing bug, we have AddressSelector.js which have a state of selectedList and suggestedList. The parent component AddressPickerSelector also have these states, and define a onSelect function which is used by the children. The problem is that the parents suggestedList isn't updated properly when selecting one entry, then another one. The feature may probably be cherry picked if needed (I haven't checked yet)

@celiacheff celiacheff removed their assignment Apr 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working v2.3.7 v2.4.0 web tchap-web
Projects
None yet
Development

No branches or pull requests

2 participants