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

🐛 Bug: Survey Form - attempting to create line breaks on mobile using ENTER produces unwanted action (limitations of SHIFT + ENTER) #8184

Closed
1 task done
candideu opened this issue Apr 5, 2024 · 2 comments
Assignees

Comments

@candideu
Copy link
Contributor

candideu commented Apr 5, 2024

Please confirm if bug report does NOT exist already ?

  • I confirm there is no existing issue for this

Steps to reproduce ?

I applaud the nocoDB team's work on the form view and surveys. The appearance has improved incredibly, and I'm happy to see the Survey view back!

I especially love the UI at the bottom of the text boxes that indicates how to create a line break (related: #7668 (comment)):

image

That said, on mobile, it's not possible to do SHIFT + ENTER to create a line break, so clicking on the ENTER keypad button moves the user to the next question (tested on Android 14, Firefox and Chromium).

Desired Behavior

Here are some ideas:

  1. Disabling the "ENTER to go to next question" action when the rich text box is active.
  2. Using a different shortcut to go to the next question (arrow keys? SHIFT + ENTER instead of the other way around?)
  3. Disabling the "ENTER for next question" action on mobile (the keyboard isn't activated for other question types anyway, so it's not a shortcut that can really be leveraged on touch screens and keyboard-less interfaces)

Project Details

NocoDB hosted version

Attachments

@candideu candideu changed the title 🐛 Bug: Survey Form - attempting to create line breaks on mobile using ENTER still produces unwanted action 🐛 Bug: Survey Form - attempting to create line breaks on mobile using ENTER produces unwanted action (limitations of SHIFT + ENTER) Apr 5, 2024
@rameshmane7218 rameshmane7218 self-assigned this Apr 5, 2024
@candideu
Copy link
Contributor Author

candideu commented Apr 5, 2024

Here's an example of a similar form by Formbricks which can do "ENTER for next question", but disables the action for long form text:

https://app.formbricks.com/s/cltn3ngh41nzef8j1ul4vb2jc

@rameshmane7218
Copy link
Collaborator

@candideu we will disable Enter for next question in mobile

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

No branches or pull requests

2 participants