You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2022-04-06] Enter/return doesn't work when the button has options - reported by @Tushu17 #7964
Select Actions -> Send money -> enter amount > Hit Next
Pick any user
Press Enter/Return or "Go" on mobile keyboard
Expected Result:
Pressing Enter/Return should send money like it does in the request money.
Actual Result:
Pressing Enter/Return Closes the Keyboard or does nothing
Workaround:
unknown
Platform:
Where is this issue occurring?
Web
iOS
Android
Desktop App
Mobile Web
Version Number: 1.1.41-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation
📣 @sobitneupane You have been assigned to this job by @jliexpensify!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
changed the title [-]Enter/return doesn't work when the button has options - reported by @Tushu17[/-][+][HOLD for payment 2022-04-06] Enter/return doesn't work when the button has options - reported by @Tushu17[/+]on Apr 1, 2022
Activity
MelvinBot commentedon Mar 2, 2022
Triggered auto assignment to @deetergp (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.sobitneupane commentedon Mar 2, 2022
Proposal
Addition of pressOnEnter in
App/src/components/ButtonWithDropdown.js
Lines 32 to 39 in d6e64b3
<Button success onPress={props.onButtonPress} text={props.buttonText} isLoading={props.isLoading} shouldRemoveRightBorderRadius style={[styles.flex1]} + pressOnEnter />solves the issue.
Tushu17 commentedon Mar 2, 2022
Proposal
Proposing a solution as I reported this issue
We aren't passing
pressOnEnterto theButtonthat we use inButtonWithDropdownas we can see below -App/src/components/ButtonWithDropdown.js
Lines 30 to 39 in d6e64b3
So by passing
pressOnEnterto the Button which is on line 32 we can fix it.MelvinBot commentedon Mar 2, 2022
Triggered auto assignment to @jliexpensify (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.jliexpensify commentedon Mar 3, 2022
@deetergp - should go to Upworks right? If so, I'll assign myself again and make a job.
jliexpensify commentedon Mar 3, 2022
Internal - https://www.upwork.com/ab/applicants/1499184622705242112/job-details
External - https://www.upwork.com/jobs/~0160e8df4df0728126
20 remaining items
jliexpensify commentedon Mar 11, 2022
Adding @kadiealexander to help keep an eye on my GH's as I'll be OOO next week
MelvinBot commentedon Mar 11, 2022
📣 @sobitneupane You have been assigned to this job by @jliexpensify!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
[-]Enter/return doesn't work when the button has options - reported by @Tushu17[/-][+][HOLD for payment 2022-04-06] Enter/return doesn't work when the button has options - reported by @Tushu17[/+]kadiealexander commentedon Apr 4, 2022
@jliexpensify leaving you assigned, please make payment on this one on the 6th/7th, as I'll be away. Thanks! 🎉
jliexpensify commentedon Apr 7, 2022
There's an iOS regression - if this isn't a big deal, I can arrange payment cc @rushatgabhane @NikkiWines
rushatgabhane commentedon Apr 7, 2022
@jliexpensify could you please link the iOS regression. I'm not able to find it 😅
jliexpensify commentedon Apr 8, 2022
@rushatgabhane - apologies: I used the wrong terminology here! I did see that iOS failed to deploy - #8206 - which is what I meant.
If that's not an issue, I'll pay!
jliexpensify commentedon Apr 11, 2022
Asking in Slack here: https://expensify.slack.com/archives/C01SKUP7QR0/p1649636370757839
Hoping to get an answer in the next 24 hours so I can issue payment.
jliexpensify commentedon Apr 11, 2022
Sorry for the delay - confirmed that it's all good to proceed with payment, and will do shortly.
jliexpensify commentedon Apr 11, 2022
Paid @Tushu17 and @rushatgabhane . Just awaiting @sobitneupane to accept and will pay + close job.
sobitneupane commentedon Apr 12, 2022
Accepted the offer.
jliexpensify commentedon Apr 12, 2022
Paid, and closed job in Upworks!