π€π€π€ I think I finally finally finally solved the @mention autocomplete feature
Had to dump regex to fix the trailing cursor problem from yesterday, and use some code from a textarea-caret-position package from the Github user Component. And it worked!
Spent rest of day dolling it up with a caret pointer (that was also semi-difficult!), and adding scroll with arrow keys using scrollTo() and scrollBy().
Spent rest of day dolling it up with a caret pointer (that was also semi-difficult!), and adding scroll with arrow keys using scrollTo() and scrollBy().