Allow to create new lines in input with mobile keyboard

#33
by fffiloni - opened

For reference, huggingchat keyboard on iOS only proposes the blue send button
9ED6983C-9CA3-4084-9EE0-6D1BF26AAD52.jpeg

chatGPT uses the proper keyboard behavior:

9424FAF3-9AE6-4FD3-8031-8014E0939B31.jpeg

Also, the blue send button does not react

Hugging Chat org
edited Apr 25, 2023

Also, the blue send button does not react

When you press "Envoyer" nothing happens? But yes maybe keeping return as default is better (I'll check tomorrow).

Nothing happens when i push the blue « send» button

I had a quick look at this and it seems like the "return" button on iOS is the same keyCode as the "enter" key on desktop keyboards. So they conflict in behaviour. It seems that ChatGPT is using a media query to change the behaviour based on viewport size...Not the best but OK.

Sign up or log in to comment