-
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
[HOLD for payment 2023-05-16] [$4000] Web - Inputs are "Flickering" in VBA flow when clicked on #16082
Comments
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
Job added to Upwork: https://www.upwork.com/jobs/~01e873c415a8f0c195 |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
Confirmed this is happening. Opening up for external. |
ProposalPlease re-state the problem that we are trying to solve in this issue.There's flickering when user clicks on the DatePicker. What is the root cause of that problem?The root cause is this hack which makes the input opacity become 0 for 0.01s, causing the flickering. What changes do you think we should make in order to solve the problem?Since the hack was to fix the mobile scrolling issue on iOS mWeb (explanation here). We can make the hack more specific and only adds the css for the hack if we're on mWeb (by checking Since on mWeb the date picker will open the native picker, the hack will not cause this date picker flickering issue on mWeb. What alternative solutions did you explore? (Optional)
We could also remove that hack and add another better, proven hack from the Another solution is to add the hack only if the input does not have |
@puneetlath Do you think we should hold this one? The VBA flow will be refactored to use the new date picker however I have no ETA and no tracking issue seems to be created yet. Just asking to be sure here. |
@tienifr Thanks for the proposal. Your RCA seems about right but you didn't explain why this behavior is more noticeable on date input more than any other input (other inputs are effected too). Putting that aside, you proposed 3 fixes:
|
Will the existing date picker be completely replaced? If so, it probably makes sense to close this. |
Yes it will be replaced by the same one you can see here http://localhost:8080/settings/profile/personal-details/date-of-birth However the flickering effect is for every input and not just the date input (it's not very noticeable on other inputs). How should we handle this?
|
@s77rt Since on mWeb the date picker will open the native picker, the hack will not cause this date picker flickering issue on mWeb. It's only on Desktop browsers that we can click (and focus) on the date input repeatedly and sees the flickering. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Verify Bank Account - Calendar icons are "Flickering" in VBA flow when clicked on What is the root cause of that problem?Lines 53 to 60 in 9fdc940
This PR prohibits the automatic scrolling of the scrollView by temporarily hiding the input after it is selected, but if an input box is a What changes do you think we should make in order to solve the problem?We can use What alternative solutions did you explore? (Optional)
|
@tienifr Thanks for the confirmation, but I think I'd rather do nothing than exclude Web. Since the date input will be replaced soon. |
@hellohublot Thanks for the proposal. Your RCA is correct and the fix is very light-weight and effective. Can you confirm that the original issue #14716 is still getting fixed with your suggested change? |
@puneetlath Based on #16017 I think we want to fix the flicker effect for every input and by doing so we will have to remove the hack introduced by #15100 Can you please confirm the same (and address #16082 (comment)) |
@cubuspl42 Can you please confirm that |
@s77rt It is. I checked. I mean, it's working the same. The hack never touched |
@cubuspl42 Right, just wanted to double check to avoid any misunderstanding 😅. Let's get this fixed then 🚀! 🎀 👀 🎀 C+ reviewed cc @puneetlath |
There was a mistake in my list, |
@s77rt I think it's time to start wrapping this, as the PR is merged 🚀 |
@cubuspl42 We have nothing to do 😅. Just wait till PR hit production and after 7 regression-free days payment should be processed. |
Oh, ok |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.12-0 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-05-16. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
Thanks @s77rt. Checklist is done. Sent all three of you contract offers. |
@puneetlath How does the bonus payment work? Is it provided as a separate Upwork offer? |
It'll be provided as part of the payment on the existing offer. I'll just add it as a bonus when I make the payment. (assuming there are no regressions between now and May 16th when I pay). |
All paid. Thanks everyone! |
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:
User expects the button to be clicked on with no flickering
Actual Result:
There is an excess in flickering. This is true for all inputs, but is most noticeable on the date picker.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.87.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug5982271_Blinking.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team, @priya-zha
Edit: initial reporter was @priya-zha
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: