-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-03-06] [$1000] Sign out - There is no cursor in the input field after sign out #14858
Comments
Triggered auto assignment to @dylanexpensify ( |
Replicated |
Job added to Upwork: https://www.upwork.com/jobs/~0168efd96a5e7f59ad |
Current assignee @dylanexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is no cursor in the input field after we sign out. What is the root cause of that problem?This is happening because the input element is not ready for interaction when the .focus() method is being called - just after sign out. What changes do you think we should make in order to solve the problem?Instead of using InteractionManager.runAfterInteractions(() => {
this.input.focus();
}); What alternative solutions did you explore? (Optional)We can add some delay using setTimeout like setTimeout(() => {
this.input.focus();
}, 200);
|
Triggered auto assignment to @Julesssss ( |
The first proposal sounds reasonable, but I'm not sure we should care too much about making this change. What do you think @dylanexpensify? I see your slack comments and while we probably should focus in this case, is it worth an $1000+ plus bounty? |
Can you provide me with the main login page file link? |
proposalDear Client In React Native,
|
@hackykitty Please follow the proposal template in future. |
@dylanexpensify @Julesssss should we proceed with this issue or hold? |
I think autoFocus is the best solution for this |
ProposalPlease re-state the problem that we are trying to solve in this issue.Username field not being focused after signing out What is the root cause of that problem?On signing out, the navigation changes and on navigation change we blur the active element. This is a regression from #14048. I'm the author of that PR, giving more context, the linked piece of code is meant to be executed before navigation and not after. What changes do you think we should make in order to solve the problem?Move the blur logic to the main navigation method. What alternative solutions did you explore? (Optional)None No compensation is required here. I will fix my own bug. |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
@Santhosh-Sellavel bump on reviewing! :) |
@dylanexpensify can you please go ahead and create that regression test please? |
Thanks again for your assistance on here for checklist @s77rt
|
@Julesssss Do we need to start a discussion on slack? |
I don't think so, this has existed for a long time IIRC. |
@Julesssss yes! Will do! |
@Santhosh-Sellavel @s77rt can you please apply at job for payment? |
No payment is due for me (#14858 (comment)) |
Triggered auto assignment to @MitchExpensify ( |
@MitchExpensify I'm heading OOO! Would you mind tackling this for me? 🙇 |
Bump @MitchExpensify, as long as you're not too busy at ECX. |
Yep, no problem @dylanexpensify |
Offer sent to @Santhosh-Sellavel for eventual payment |
Payment made, contract ended - Thanks everyone! |
Thanks @MitchExpensify |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The cursor is present in the input field
Actual Result:
There is no cursor in the input field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.65.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
Bug5926619_Recording__3607.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: