I’m using OH web UI on an iPad, and I have a few d...
# proj-agent-canvas
c
I’m using OH web UI on an iPad, and I have a few difficulties (idk, they seem new): • moving the separator between the chat tab and the other tabs, to resize, seems a bit unusually _difficult/clumsy_; there’s no visual clue where I should drag, seems like only dragging the upper part works; succeed once, fail like 10 times • same for resizing the prompt input area up: moving up or down the separator there is difficult • Enter in the prompt input area doesn’t send the message, I need to actually tap the arrow
On Safari
w
hmm dragging works just fine for me
VS Code does this nice thing where it highlights the bar on mouseover, making it much easier to discover
• Enter in the prompt input area doesn’t send the message, I need to actually tap the arrow
This also works fine for me (chrome) maybe we need some safari testing
c
Ah I see, yes, unfortunately Safari matters
I feel like it broke recently
m
• same for resizing the prompt input area up: moving up or down the separator there is difficult
You may first try tapping the top edge of the chat input to activate the white bar. Once it appears, press and hold the white bar to adjust the size by moving it up or down.
• Enter in the prompt input area doesn’t send the message, I need to actually tap the arrow
On tablets and mobile devices, users should be able to enter multiple lines. Therefore, pressing the Return key will insert a new line instead of sending the message. On desktop, a new line can be created by pressing Shift + Enter. Pressing Enter alone will send the message.
c
Re: Enter / Shift+Enter: I think maybe it would be better to not have different behavior for a key, specially Enter, if we can? Idk, it's reflex
m
I referenced this behavior from ChatGPT. In their desktop application, pressing Shift + Enter creates a new line, while pressing Enter sends the message. In their mobile application, pressing the Return key creates a new line, and tapping the Send button submits the message. Otherwise, there would be no way to create a new line on mobile devices. I may have overlooked something, but this is what I have observed so far.
c
Idk, please correct me if it sounds off: • on Chrome, do we have different behavior for these keys in OH, on similar devices, e.g. tablet-like devices? • on an iPad (tablet/chromebook/larger stuff with keyboard) the user can do Cmd+Enter / Shift+Enter, and this is where it could maybe work similarly with desktop. Currently it seems that using any combinations only creates a new line
m
Ah, I see the issue now. You are using an iPad with a physical keyboard. From your initial message, I assumed you were using the virtual keyboard. Let me check if we can support that scenario. Currently, we support the following behavior: • Desktop: Pressing Shift + Enter creates a new line, while pressing Enter sends the message. • Mobile/Tablet: Pressing the Return key on the virtual keyboard creates a new line, and tapping the Send button submits the message. Thank you for clarifying! thankyou
😊 1