gdpelican / babble

Discourse Shoutbox plugin
MIT License
107 stars 63 forks source link

🐛 ⬆ key causes loss of focus on a new chat message #272

Closed azawawi closed 5 years ago

azawawi commented 5 years ago

While creating a new message, pressing ⬆ causes the focus to go to the last chat message. This has been tested on the latest Firefox/Chrome browsers. This causes some data loss / confusion since you update the last message instead of creating a new one. Thanks.

gdpelican commented 5 years ago

Alright, I've updated this so that we only jump to the last post to edit when the current text box is empty.

azawawi commented 5 years ago

Thanks. :+1: