-
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-10-05] [$500] Web - Focus Border is not disappearing on Click #26431
Comments
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
I am not sure if this is an error because you see as soon as you move the mouse out of the message the circle goes away, right? |
@johncschuster Whoops! This issue is 2 days overdue. Let's get this updated quick! |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
ResultScreencast.from.06-09-2023.21.32.41.webm |
Job added to Upwork: https://www.upwork.com/jobs/~0165692f1106821d38 |
Current assignee @johncschuster is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ArekChr ( |
Not overdue. This was just triaged, Melv. |
@DylanDylann I think |
|
@ArekChr Screen.Recording.2023-09-06.at.16.29.51.movSo that, If we come up with this solution we need to define a new function for native and web/desktop separately |
ProposalPlease re-state the problem that we are trying to solve in this issue.Focused outline is not dismissed on click What is the root cause of that problem?In
We have In first place the What changes do you think we should make in order to solve the problem?we should call It will be something like this. onMouseDown={(e) => {
if (!['TEXTAREA', 'INPUT'].includes(DomUtils.getActiveElement().nodeName)) { return; }
e.preventDefault()
}} Since we are using DomUtils.getActiveElement it won't be necessary to separate the files. App/src/libs/DomUtils/index.js Lines 5 to 7 in 57b7606
We can also utilize ResultScreen.Recording.2023-09-06.at.3.49.14.PM.movWhat alternative solutions did you explore? (Optional)N/A cc @ArekChr |
@ArekChr Updated proposal #26431 (comment). Please help review again. Thanks! |
@DylanDylann you updated your proposal after mine and your solution is also based on my approach. whether to use |
@getusha your proposal will check if the current active element is [input, textarea] or not, If not, we will blur the current active elements. My proposal will check if the current active element is exactly the main composer/edit composer or not, if not, we will blur the current active. I want the blur action will affect all the elements except exactly the main composer and the edit composer, because we cannot guarantee that there will be other input elements in the future or not |
the only difference is that you're using Focus manager which can be suggested by c+, the main proposal is we are triggering e.preventDefault when the composer is not focused, which you updated to it after my proposal. |
@getusha yeah. The GitHub will store the edit history. I just want to make sure this issue is fixed as best as possible. |
@johncschuster, @ArekChr Eep! 4 days overdue now. Issues have feelings too... |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Ok! I've issued payment to @DylanDylann and @Charan-hs. @getusha, can you accept the proposal in Upwork? I'll issue payment to you as soon as that's done. Thanks, everyone! |
@johncschuster accepted. |
Awesome. Thank you! I'll get payment issued now. |
Payment has been issued to @getusha! Thanks for your patience while I worked this out, everyone! |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Huh... This is 4 days overdue. Who can take care of this? |
Oh, whoops. I think I forgot to close this one. @ArekChr, do you think we need regression test steps? |
Yes, we can add regression steps here. Regression test proposal.
Do we agree 👍 or 👎 |
Thanks, @ArekChr! I'll get that regression test issue created shortly. |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Eep! 4 days overdue now. Issues have feelings too... |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Huh... This is 4 days overdue. Who can take care of this? |
1 similar comment
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Huh... This is 4 days overdue. Who can take care of this? |
This is on me. I need to get the regression issue going. Will do that shortly. |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann Huh... This is 4 days overdue. Who can take care of this? |
@johncschuster, @ArekChr, @jasperhuangg, @DylanDylann 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Everything is done except the regression test issue. Doing that now. |
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:
Border should be disappeared after clicking
Actual Result:
Border is not disappeared even clicking
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.60.1
Reproducible in staging?: y
Reproducible in production?: y
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
Screen.Recording.2023-08-26.at.1.06.40.PM.mov
Expensify/Expensify Issue URL:
Issue reported by: @Charan-hs
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1693035839221489
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: