Xelson / flarum-ext-chat

☁️NeonChat — native realtime chat application for Flarum
https://discuss.flarum.org/d/25361-neon-chat-native-realtime-chat-applicaiton
MIT License
20 stars 8 forks source link

New message texfield eating spaces #13

Closed Wadera closed 2 years ago

Wadera commented 2 years ago

While typing new message on the chat, last space (after last word) sometimes disapper:

Screen recording 2021-12-16 10 41 54

Xelson commented 2 years ago

The same situation as with issue #14. I can't reproduce it, but corrected #13 and #14 in possible places. Check https://github.com/Xelson/flarum-ext-chat/commit/6d8734b3f1c76193d828136dffd6a41bcd4fe4bf

Wadera commented 2 years ago

Looks like fixed, but right now after sending message - text stays in textfield.

Xelson commented 2 years ago

ok, what about https://github.com/Xelson/flarum-ext-chat/commit/c23ff3cc31aaf6ebefec4b2f63070c9dc682be54?

Wadera commented 2 years ago

Fixed!

Wadera commented 2 years ago

but for some reason - mentions are gone 😱 They are show on "preview" but don't display after sending message.

Wadera commented 2 years ago

It's working fine if adding space / text after mention.

Xelson commented 2 years ago

I think this is reason for another separate issue. And please relate the gif that show several cases of mentions usage