Closed IuliiaHerets closed 1 month ago
Triggered auto assignment to @Christinadobrzyn (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
We think that this bug might be related to #vip-vsb
@Christinadobrzyn FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors
Date of birth years list flicks
The problem is the keyboard isn't dismissed before we close the year picker modal then the submit button flicks
We should dismiss the keyboard before we select the year and we also need to wrap the select logic here in InteractionManager.runAfterInteractions
to ensure the year picker modal is closed after the keyboard is hidden
onSelectRow={(option) => {
Keyboard.dismiss();
InteractionManager.runAfterInteractions(() => {
onYearChange?.(option.value);
});
}}
OPTIONAL: Since this bug only happens for the touch device, we can only use InteractionManager.runAfterInteractions
if DeviceCapabilities.canUseTouchScreen
is true
to deny the delay on other platforms
I'm not sure what we mean by flicker - I see the years don't load - is that what we mean by flicker?
If they are different, I don't think we should fix the flickering because it's not consistent and seems very minor but I'll add a C+ to just double-check if they think we should fix the year loading to see if that resolves the flickering.
https://github.com/user-attachments/assets/97775178-5ec8-4fe8-8aaf-06e050675228
Job added to Upwork: https://www.upwork.com/jobs/~01dbcdf988965774c4
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (External
)
@getusha can you double-check if you think the flickering = the years not loading or if you're seeing a flicker that's different?
hey @getusha, can you take a peek at this and give your thoughts - if there's more we need to know from the team or if the flickering makes sense to you?
If that's true can you review this proposal?
@Christinadobrzyn, @getusha Huh... This is 4 days overdue. Who can take care of this?
Hi @getusha can you provide an update when you have a moment? TY!
can you double-check if you think the flickering = the years not loading or if you're seeing a flicker that's different?
No, i don't think so
I managed to notice the flicker (the list kind of distorts for a fraction of a second and returns back) when closing the page, but it's pretty hard to notice. we can close this issue.
https://github.com/user-attachments/assets/52cbddac-ca12-4b5e-9224-fa6a646b5e36
@getusha The bug here you should select a year, and then you can see the keyboard is always hidden after we go back to the previous page
https://github.com/user-attachments/assets/3ff8e979-b1cf-479b-9c65-62f1886d70ce
and then you can see the keyboard is always hidden after we go back to the previous page
It's not what the issue description states but are you sating we need to keep the keyboard open when we go back to that page?
Tap on year and select any year Tap on year again and select any year
@getusha It's mentioned here
@getusha It's mentioned here
That's part of the steps to reproduce the flicker, am i missing something?
That's part of the steps to reproduce the flicker, am i missing something?
@getusha Yes this is the reproduce steps, you also can see it at the end of the video in OP.
Update for Melvin - I think we're reviewing proposals. @getusha @nkdengineer let me know if I can help with anything!
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
@getusha Yes this is the reproduce steps, you also can see it at the end of the video in OP.
And the issue is a barely noticeable flicker, right?
And the issue is a barely noticeable flicker, right?
We can see the keyboard is not closed before we close the year list modal which makes the flicker bug.
We can see the keyboard is not closed before we close the year list modal which makes the flicker bug.
Yes, but it's about the significance. it doesn't seem to affect any flow.
Yes, but it's about the significance. it doesn't seem to affect any flow.
@getusha Yes, it's a UI issue. We also use the same solution in other places like here to prevent this UI issue.
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸
Hi @getusha just checking in on this to see if we've decided on a proposal or can you provide an update?
@Christinadobrzyn I feel like this is not worth fixing, i don't see how this affects the flow. it's just a minor UI flicker.
@Christinadobrzyn @getusha this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!
I was thinking the same - thanks for the review @getusha! I'll close this without action.
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 9.0.20-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): applausetester+jp_e_category_2@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Date of birth years list not flicks
Actual Result:
Date of birth years list flicks
Workaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/837775c3-8cc8-43c8-b126-b5e62d6d1abe
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @getusha