-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$500] Edit private note form doesn't submit by enter key #28860
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01114e9ac4dbe61472 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
Proposal by @dukenv0307Please re-state the problem that we are trying to solve in this issue.Edit private note form doesn't submit by pressing enter key What is the root cause of that problem?We don't add
We should add submitOnEnter prop to the text input to make the form can be submitted by pressing enter key
What alternative solutions did you explore? (Optional)NA ResultScreencast.from.04-10-2023.15.19.04.webm |
Looks like it is intended behavior. Since notes might be multiline |
ProposalPlease re-state the problem that we are trying to solve in this issue.Enter button is not submitting privates notes form. What is the root cause of that problem?Root cause of the problem is we have policy about when form should be submitted on pressing enter and when we should add a new line on pressing shift+enter. There is prop for multiline inputs that allow us to handle form like this
it is not added What changes do you think we should make in order to solve the problem?Add
Above change will ensure that enter behavior gets updated for desktop browsers and for mobile apps only. What alternative solutions did you explore? (Optional)N/A |
@ayazalavi Does it do any harm to add |
@cubuspl42 Actually, we use |
@cubuspl42, I believe this form submission behavior is intended for platforms other than mobile browsers. Mobile browsers have different form submission behavior due to the lack of implementation for interactions between soft keyboards and HTML forms in the app. Please take a look at this issue for more information: Link to Issue #28569. |
@cubuspl42 Huh... This is 4 days overdue. Who can take care of this? |
@m-natarajan Let's close this. This might be intended and in another thread we decided that private notes are not a priority as they are mostly an internal feature. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
I agree with @cubuspl42 and I believe this page is being revamped anyways, so let's close this for now. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The private note should be saved and go back to the previous page
Actual Result:
The input adds a new line
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.77-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Screen.Recording.2023-10-04.at.15.07.46.mov
Screen.Recording.2023-10-04.at.15.08.32.mov
Recording.470.mp4
Expensify/Expensify Issue URL:
Issue reported by: @dukenv0307
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696405348401729
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: