Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending message requires mouse interactions #10

Open
dmatora opened this issue Sep 8, 2024 · 3 comments
Open

Sending message requires mouse interactions #10

dmatora opened this issue Sep 8, 2024 · 3 comments

Comments

@dmatora
Copy link

dmatora commented Sep 8, 2024

Most chat UIs allow sending message either with Enter or Ctrl-Enter
At the moment suaveui can only produce new line with Enter, and requires mouse interaction on each message which is really annoying for anyone who types fast

@dmatora
Copy link
Author

dmatora commented Sep 8, 2024

Hmm, suddenly enter started working. I wonder what the issue was.

@avarayr
Copy link
Owner

avarayr commented Sep 8, 2024

Enter is disabled on mobile screen sizes to allow the user the insert new lines. On desktop screen size enter works, and new line is created using Shift+Enter. Try it out and let me know

@dmatora
Copy link
Author

dmatora commented Sep 8, 2024

You right, if window is not big enough it stops sending messages on Enter.
Maybe UserAgent should be used to detect mobile, instead of window size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants