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 2023-07-20] [$1000] Dev: Web - Workspace - Calendar disappears when clicking on it #20973
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Please re-state the problem that we are trying to solve in this issue.
Safari - Web - Workspace - Calendar disappears when clicking on it
What is the root cause of that problem?
This bug is limited to Safari only and REPLICATED ON STAGING ALSO. In safari browser DatePicker is visible on click unless chrome we have to click on date-picker icon.
The problem is that when we click on input field. it fires two event. focus and click.
As i said DatePicker is shown in safari on simple click. but here we have onFocus event on DatePicker that is again clicking the input using the ref. that is causing open and close of date picker.
* Pops the datepicker up when we focus this field. This only works on mWeb
* On mWeb the user needs to tap on the field again in order to bring the datepicker. But our current styles
* don't make this very obvious. To avoid confusion we open the datepicker when the user focuses the field
*/
showDatepicker(){
Resultresult1.mov
What alternative solutions did you explore? (Optional)
I guess problem is with mobile chrome only. on Focus calendar doesn't get open in mobile chrome.
so maybe we can update condition to !this.inputRef || !Browser.isMobileChrome() only.
changed the title [-]Dev: Web - Workspace - Calendar disappears when clicking on it[/-][+][$1000] Dev: Web - Workspace - Calendar disappears when clicking on it[/+]on Jun 19, 2023
@MitchExpensify I don't have the access to close it. But I think we can close this out if other pay outs are done. My payment is stuck because of approval for one of the previous issues. I'll track it on NewDot.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 17, 2023
Triggered auto assignment to @MitchExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 17, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)kushu7 commentedon Jun 18, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Safari- Web - Workspace - Calendar disappears when clicking on itWhat is the root cause of that problem?
This bug is limited to
Safarionly andREPLICATED ON STAGING ALSO. In safari browserDatePickeris visible on click unless chrome we have to click on date-picker icon.The problem is that when we click on input field. it fires two event.
focusandclick.As i said
DatePickeris shown in safari on simpleclick. but here we haveonFocusevent onDatePickerthat is again clicking the input using the ref. that is causing open and close of date picker.App/src/components/DatePicker/index.js
Lines 49 to 60 in bee8fd3
This problem is with every Input
DatePickerwe are using.eg.
Company information - Incorporation dateRepro Step:
Bug
bug-staging1.mov
What changes do you think we should make in order to solve the problem?
!this.inputRef || !Browser.isMobile()here.App/src/components/DatePicker/index.js
Line 55 in bee8fd3
As we can see this was added basically for mWeb.
App/src/components/DatePicker/index.js
Lines 49 to 54 in bee8fd3
Result
result1.mov
What alternative solutions did you explore? (Optional)
I guess problem is with mobile chrome only. on Focus calendar doesn't get open in mobile chrome.
so maybe we can update condition to
!this.inputRef || !Browser.isMobileChrome()only.[-]Dev: Web - Workspace - Calendar disappears when clicking on it[/-][+][$1000] Dev: Web - Workspace - Calendar disappears when clicking on it[/+]melvin-bot commentedon Jun 19, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01474c1fe598ac86fd
melvin-bot commentedon Jun 19, 2023
Current assignee @MitchExpensify is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jun 19, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (
External)40 remaining items
separate datepicker into new file
mananjadhav commentedon Jul 19, 2023
I think this was more of an edge case. We added the
showDatepickermethod in this PR. I've added the comment on the PR.I don't think we need a regression test for this one.
Also @MitchExpensify I will be raising the payout request on NewDot.
MitchExpensify commentedon Jul 19, 2023
👍
Great! Thanks @mananjadhav
mananjadhav commentedon Jul 20, 2023
Thanks @MitchExpensify. I've raised a request on NewDot. Can you help with the payout for @kushu7? Also timeline bonus will apply to them.
MitchExpensify commentedon Jul 20, 2023
Of course! Paid all. Feel free to close this once the NewDot payment comes through @mananjadhav
Thanks everyone!
mananjadhav commentedon Jul 21, 2023
@MitchExpensify I don't have the access to close it. But I think we can close this out if other pay outs are done. My payment is stuck because of approval for one of the previous issues. I'll track it on NewDot.
anmurali commentedon Jul 21, 2023
Approved $1000 to Manan based on #20973 (comment)
mananjadhav commentedon Jul 21, 2023
@anmurali I think the payout here is 1500.
anmurali commentedon Jul 21, 2023
You beat me to the edit. Haha
I believe because this was delayed due to Rory's OOO 9#20973 (comment)) we're approving it for a bonus?
mananjadhav commentedon Jul 21, 2023
Yeah that's right.
mananjadhav commentedon Jul 21, 2023
@MitchExpensify Good to close this one out?
MitchExpensify commentedon Jul 22, 2023
If you've received payment, absolutely!