TryQuiet / zbay

GNU General Public License v3.0
18 stars 3 forks source link

Hint/suggestion windows for tagging users in a channels in incorrect place #782

Open kingalg opened 3 years ago

kingalg commented 3 years ago

Windows with a hint used to tag users on channels moves to the top left corner in some situations.

System: MacOS and Windows

Steps to rectorate:

  1. Start tagging an user in a channel until hint window appears.
  2. Choose another channel without removing any letters.
  3. Come back to the channel from point 1 - hint/suggestion windows is incorrectly on a top left corner of an app.

It should looks like this:

Screenshot 2021-04-27 at 15 23 00

In incorrect state it looks like this:

Screenshot 2021-04-27 at 15 19 56 Screenshot 2021-04-27 at 15 23 57

holmesworcester commented 3 years ago

Lilaro and I tried to fix this, and didn't succeed, but here's some initial research that might be helpful:

Since there are other bugs (for example, the list of users simply doesn't show sometimes once you start typing, even though there are matches) and since this component has a lot going on and is crucial to the user experience, it might make sense to use a library for this if we haven't already.

This looks like the one to try, if we haven't tried it yet: https://github.com/signavio/react-mentions

holmesworcester commented 3 years ago

Fixed: https://github.com/ZbayApp/ZbayLite/pull/246

But there are still other issues. @vinkabuki @NorbertBodziony do you know if we considered using this library? If not, we should probably try it.

kingalg commented 3 years ago

Issue not fixed.

image

holmesworcester commented 3 years ago

The PR for this did not make it into the release. This ticket should not have been moved out of 'in progress'

On Tue, May 18, 2021 at 9:58 AM kingalg @.***> wrote:

Issue not fixed.

[image: image] https://user-images.githubusercontent.com/68909168/118664493-ced50380-b7f1-11eb-890d-32fb39b5dda2.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ZbayApp/zbay/issues/782#issuecomment-843195709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABUFLUKWAVMZTDLQG6HSVLTOJW75ANCNFSM43VAKFNA .