-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Personal Details - Selected month changes to current month after selecting a year in the picker #16358
Comments
Triggered auto assignment to @michaelhaxhiu ( |
Bug0 Triage Checklist (Main S/O)
|
regression from a Date picker PR, asking if the author can take this bug on |
@mountiny Sure, I can work on that issue, would you assign me? |
Arek will work on this one |
ProposalProblem StatementWhen navigating to the push-to-page year list screen on the web app, the selected month in the calendar changes to the current month after selecting a year. Root CauseThe root cause of the problem is that the DOB TextInput is blurred when navigating to the push-to-page screen, which causes closing the calendar and the selected month to lose their state. First SolutionI propose to store the selected month value in the NewDatePicker component. Second SolutionAnother solution is to prevent the picker from closing when TextInput is blurred while navigating the year page. But this will also change the behaviour of the closing calendar as it will prevent closing the calendar when pressing outside of the component. I am still exploring ways to keep the calendar open while not breaking its ability to close when the user clicks outside. |
@ArekChr lets go with the first solution! Thanks This can always be updated as we find whats the best ux for the user in terms of closing/ opening the calendar |
Sure! working on PR |
Hey, PR is ready for review. |
thank you, gonna test and review. |
@michaelhaxhiu, @ArekChr, @mountiny Huh... This is 4 days overdue. Who can take care of this? |
@michaelhaxhiu, @ArekChr, @mountiny 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
No payments need to be handled here. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #15343
Action Performed:
Expected Result:
The previously selected month (on step 3) is displayed in the date picker after selecting a year.
Actual Result:
Selected month changes to current month after selecting a year in the picker
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.88.0
Reproducible in staging?: Yes
Reproducible in production?: Different picker in production
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
Bug5987017_15343_Desktop.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: