Composer loses focus and keyboard closes after sending chat message on Android

AI-generated summary

The Composer on Android loses focus and the keyboard closes after sending a chat message, unlike on iOS where it stays up. sok777 reported this issue and mcwumbly agreed that the keyboard should stay up. A fix has been pushed to GitHub by joffreyjaffeux and mcwumbly provided instructions on how to update the plugin. sok777 asked if a rebuild is required, and mcwumbly advised that updating the plugin via /admin/upgrade should suffice. sok777 expressed concern about potential downtime, but mcwumbly reassured that the upgrade should not cause any downtime, citing a comment from jomaxro.

So, on iOS when sending a message the keyboard stays up. On Android after sending the keyboard goes back down so it does not allow fast chatting.

Which is the right behavior?

@mcwumbly

Chat Transcript
Originally sent in chat feedback
sok777

@JammyDodger thanks for all your help! One thing I noticed - on my Android phone sending takes the keyboard right down, and on iOS it stays up so you can keep messaging quickly. Is this on purpose or a bug?

JammyDodger

Excellent question :slightly_smiling_face: I don't know which would be the preferred behaviour for that, but as it doesn't break anything it'd more of a Contribute > UX issue

I would have to defer to @mcwumbly to find out if that's something on the radar already?

mcwumbly

I don't think this is on our radar at the moment. A Contribute > UX topic to track that would be nice!

sok777

Should I open it? @mcwumbly

mcwumbly

Yeah, that'd be great. You can drop the link back here afterwards if you want to share it with everyone else in this channel.

5 Likes

I would expect the keyboard to stay up, so I think that’s the correct behavior. Will see what it takes to get this sorted out on Android!

2 Likes

@j.jaffeux just pushed a fix for this here: FIX: enforces focus of composer after send by jjaffeux · Pull Request #1139 · discourse/discourse-chat · GitHub

2 Likes

Awesome. Do i have to rebuild ?

If you’re otherwise up to date, I think you should just be able to go here to update the plugin:

/admin/upgrade

Sorry for being ignorant,

but does this mean any down time for my forums? :thinking:

I don’t believe so, per this comment:

1 Like

This topic was automatically closed after 3 days. New replies are no longer allowed.