Blazored / Gitter

A Blazor Gitter Client
MIT License
37 stars 14 forks source link

Username autocompletion #82

Open chucker opened 4 years ago

chucker commented 4 years ago

Suggest users when typing @ followed by part of a user name or display name.

Multiple aspects required:

chucker commented 4 years ago

A very early version of the UI is now here. The positioning is, too, but doesn't seem to actually work yet.

chucker commented 4 years ago

I've removed draft status because this is way beyond proof of concept now.

Remaining issues before this should be merged:

Remaining issues that I don't think should block a merge:

SQL-MisterMagoo commented 4 years ago

For the user list, I would personally be happy to let it pop up where you have it - the horizontal doesn't matter too much, but if you want to try and position it, I found this that seems to work https://medium.com/@jh3y/how-to-where-s-the-caret-getting-the-xy-position-of-the-caret-a24ba372990a

chucker commented 4 years ago

if you want to try and position it, I found this that seems to work https://medium.com/@jh3y/how-to-where-s-the-caret-getting-the-xy-position-of-the-caret-a24ba372990a

Yeah, the offscreen div approach is one I evaluated. I'll consider it.