-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Onboarding - Pressing enter after selecting company size and connections does not work #55457
Comments
Triggered auto assignment to @sakluger ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When pressing Enter key in the accounting and employees page, the user is not going to the next page. What is the root cause of that problem?The Button component has a pressOnEnter prop that should handle the Enter key press, but it's not working because: What changes do you think we should make in order to solve the problem?
const continueButtonRef = useRef<NodeJS.Timeout | null>(null);
// Focus the continue button when a selection is made
useEffect(() => {
if (userReportedIntegration !== undefined && continueButtonRef.current) {
continueButtonRef.current.focus();
}
}, [userReportedIntegration]);
Do the same for BaseOnboardingEmployees as well, because the page has the same issue What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)NA Screen.20Recording.202025-01-19.20at.208-2.mp4 |
We can combine it with this issue #55145 |
ProposalPlease re-state the problem that we are trying to solve in this issue.When pressing enter after selecting a size and accounting software the modal does not move to the next page What is the root cause of that problem?When we select an option, we sync the focus, which causes the confirm button to be blurred and the enter key to not work.
What changes do you think we should make in order to solve the problem?Define a new prop in
Then we can pass this prop as
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
🚨 Edited by proposal-police: This proposal was edited at 2025-01-20 03:53:58 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Onboarding - Pressing enter after selecting company size and connections does not work What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
onSelectRow={(item) => {
onConfirm(item.keyForList);
setError('');
}}
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)ResultMonosnap.screencast.2025-01-20.09-21-15.mp4 |
|
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.87
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The onboarding modal moves to the next page, "Do you use any accounting software?"
Actual Result:
When pressing enter after selecting a size and accounting software the modal does not move to the next page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6718131_1737292631049.bandicam_2025-01-19_15-52-39-619.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: