Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Make the message box autofocus an option

Open mbouchard opened this issue 8 years ago • 5 comments

https://github.com/RocketChat/Rocket.Chat/blob/397857ef1c32988597da42264f4638604526e184/packages/rocketchat-ui-message/client/messageBox.html#L28

The presence of the autofocus attribute should be made an option because it's causing Rocket.Chat to steal the focus when it's integrated in an iframe.

This is a problem when a user is typing something in an input text outside the Rocket.Chat iframe and suddenly he's typing in the Rocket.Chat's message box without noticing it because the iframe stole the focus after it has loaded.

mbouchard avatar Jan 05 '18 20:01 mbouchard

+1 This is a big problem when we integrate our service with iframe.

xnextx avatar Apr 09 '18 13:04 xnextx

+1 Will there be any changes on this issue?

sdelfi avatar Oct 28 '18 20:10 sdelfi

+1 This issue has caused my client some grief. They've had people accidentally type sensitive information into the chat box. We're Cloud subscribers, and very much looking forward to an update on this one.

acflint avatar Aug 16 '19 14:08 acflint

+1. :)

davidpiesse avatar Mar 27 '20 08:03 davidpiesse

Hi there, thanks for the contribution! 🚀 💯

It's working properly on the latest version, but if it is still happening to you, please open a new issue with more details. Thank you very much!

Rocket.Chat provides support for, at least, 3 months for each release and 6 months for the latest releases of each major version

I would suggest you update your Rocket.Chat version to the latest stable version, which you can find in Releases Page and, check it HERE the table with versions and End of Life dates.


Questions? Help needed? Feature Requests?

  • Join our Open Server in the #support channel and feel free to raise a question
  • Join our Community Forum and search/create a post there

guijun13 avatar Sep 26 '23 18:09 guijun13