deiucanta / chatpad

Not just another ChatGPT user-interface!
https://chatpad.ai
GNU Affero General Public License v3.0
1.36k stars 253 forks source link

message input field loses focus #34

Open kamil-malinski opened 1 year ago

kamil-malinski commented 1 year ago

Hi!

I'm using the web app and whenever I send a message the message input field loses focus and I need to set the focus to the message input box again.

Is there something I can do to fix that?

Cheers

Kamil

Supernova3339 commented 1 year ago

the input is like a form. when you submit it the interactivity resets this is same for most websites like github itself

On Thu, Mar 30, 2023 at 1:40 PM kamil-malinski @.***> wrote:

Hi!

I'm using the web app and whenever I send a message the message input field loses focus and I need to set the focus to the message input box again.

Is there something I can do to fix that?

Cheers

Kamil

— Reply to this email directly, view it on GitHub https://github.com/deiucanta/chatpad/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJSPN5D3FUCRTWQICBDW6WELZANCNFSM6AAAAAAWNKD77Y . You are receiving this because you are subscribed to this thread.Message ID: @.***>

kamil-malinski commented 1 year ago

but the focus should be set to the input field again after submitting a message, don't you think? after all I propably want to enter another message after submitting one

Supernova3339 commented 1 year ago

you are able to do that already, it works fine for me in firefox

On Thu, Mar 30, 2023 at 3:21 PM kamil-malinski @.***> wrote:

but the focus should be set to the input field again after submitting a message, don't you think? after all I propably want to enter another message after submitting one

— Reply to this email directly, view it on GitHub https://github.com/deiucanta/chatpad/issues/34#issuecomment-1490494166, or unsubscribe https://github.com/notifications/unsubscribe-auth/APESZJTJHHUWZMYTBGGVTQLW6WQFZANCNFSM6AAAAAAWNKD77Y . You are receiving this because you commented.Message ID: @.***>

kamil-malinski commented 1 year ago

I'm on MacOS and in Firefox and Chrome the input field loses focus after each message

in Safari it works fine, the input field keeps its focus