-
-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chat highlight behaves odd #2816
Comments
Hey, would love to take a crack at this if that is all right? |
Hey @RoyTheJet, that would be great thanks. Have you been able to reproduce the issue? If you're unsure how to start or need help, let me know. |
Hey, @jcbrand I have not been able to reproduce the issue. Any help would be greatly appreciated thanks. |
@licaon-kter Can you still reproduce this bug? |
I encounter this issue still. Seems to happen fairly reliably then closing out with a 1:1 chat open. When logging in again it re-opens the chat and highlights that entry which then remains highlighted. Problem does not seem to happen when a MUC or no chat was open when last closed out. |
Ok, I've reproduced this bug. I also have noticed, that if you have 1:1 chats in different groups collapsing the group with the wrong highlight will shift the highlight to the correct chat. Also, if you have chats in the same group collapsing, then reopening the group, will shift the highlight to the correct chat. I did this with the console open, it shows that the class attribute "open" does not shift to the correct "li" when being clicked. |
Interesting, it is true that as the picture shows, that (wrongly) highlighted 1:1 is in a different group (one named as |
Thanks a lot for the info @m1sraapurva, I think you might have found the issue. This is because of how The solution is to use the https://lit.dev/docs/templates/lists/#when-to-use-map-or-repeat |
I've built e63ba20 and it's still odd: Do I need to nuke my stored session browser data? |
No, I'll check again. |
HEAD (b44e1c8) self-build, Firefox Stable
Highlight does not change to correct contact
But, if I open a group it highlights that group or disappears when I switch away to a chat. Selecti the group again....highlighted...select 1:1 chat... nothing highlighted.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: