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

Question submission behaviour on hitting enter key #199

Open
WildRyc opened this issue Oct 11, 2023 · 2 comments
Open

Question submission behaviour on hitting enter key #199

WildRyc opened this issue Oct 11, 2023 · 2 comments

Comments

@WildRyc
Copy link

WildRyc commented Oct 11, 2023

image

Hitting the enter key while submitting a question triggers the submit button. Is this the desired behaviour?

@KingSupernova31
Copy link
Owner

Yes; most questions don't need line breaks, and it makes submission a lot faster to let people do it with a keypress rather than having to use the mouse.

If you hold shift while pressing enter it will input a line break. I agree it's not great that this is a hidden feature, since as you point out, many people will assume that enter will input a line break. I'd love to hear ideas for improvement!

@WildRyc
Copy link
Author

WildRyc commented Oct 20, 2023

Option 1) Indicate on the page what the behaviour currently is.
2) Toggle as a user setting
3) Just require the submit button be used to process, removing this behaviour entirely.

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

No branches or pull requests

2 participants