Open lanitochka17 opened 1 month ago
Triggered auto assignment to @roryabraham (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
@roryabraham 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
We think that this bug might be related to #wave-collect - Release 1
I've been seeing this one for a while, so I'm pretty sure it's not a deploy blocker. It is really annoying though.
I think there are some other preconditions we're missing that makes this happen, because I wasn't able to reproduce this on staging with my rory@expensify.com account. But I've seen it before.
It happens with some other TextInputs too... 🤔
It looks similar to this Flutter issue
edit: found the similar React Native issue: https://github.com/facebook/react-native/issues/39411
It sounds like the consensus in the community is that this is an iOS 17 issue, which is out of our hands.
We may be able to disable auto suggestions for the MagicCode input, by setting it to a oneTimePassword input, which seems appropriate. But I'm not sure if that will disable this autocompletion behavior (shows up after opening the email with the magic code)
Edit: Already has oneTimeCode
Since I'm pretty certain I've seen this in production, and I'm not consistently seeing it in staging, I'm going to demote it.
I'll make it external just in case I'm being too hasty in thinking that it's most likely an iOS bug, and someone has a simple idea to fix this.
Job added to Upwork: https://www.upwork.com/jobs/~01bfdc76c99fb63dcf
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 (External
)
Triggered auto assignment to @kevinksullivan (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.
On this issue I want to be particularly wary of hacks or workarounds. We don't need to make our code super complex to try and work around an iOS bug. Ideally that is fixed by Apple at some point soon
The problem is that the keyboard flickers when entering or deleting the magic code in the bank account verification flow for an unverified account. This flickering causes the text underneath to become visible momentarily, disrupting the user experience.
The root cause of this problem is likely due to the input field losing and gaining focus repeatedly, causing the text to appear and disappear. This could be caused by:
What changes do you think we should make in order to solve the problem? To address this issue without resorting to hacks or workarounds, we should focus on simplifying and stabilizing the code handling the input field:
Stabilize Focus Handling:
Optimize State Management:
Review and Adjust Animations:
const handleFocus = () => {
inputRef.current.focus();
};
return (
<TextInput
ref={inputRef}
onFocus={handleFocus}
onChangeText={handleInputChange}
// Ensure other necessary props are included
/>
);
const [magicCode, setMagicCode] = useState('');
const handleInputChange = (text) => {
setMagicCode(text);
};
return (
<TextInput
value={magicCode}
onChangeText={handleInputChange}
// Ensure other necessary props are included
/>
);
return (
<View style={styles.inputContainer}>
<TextInput
value={magicCode}
onChangeText={handleInputChange}
// Ensure other necessary props are included
/>
</View>
);
We could implement a debounce mechanism for input changes to reduce the frequency of state updates and re-renders.
Please note that the above explanation outlines only the technical approach I plan to take. After getting accepted, I will submit the finalized solution as mentioned.
Thanks!
@kevinksullivan, @abdulrahuman5196, @roryabraham Whoops! This issue is 2 days overdue. Let's get this updated quick!
@abdulrahuman5196 thoughts on the proposal above?
Triggered auto assignment to @kevinksullivan (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.
Triggered auto assignment to @MitchExpensify (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.
@MitchExpensify just looping in another BZ member while I am OOO Tuesday - Friday. Will keep it up once I return!
@abdulrahuman5196, friendly bump here on a proposal review
@TheGithubDev The proposal seems to be like a generalized good practice kind of information, I am not seeing solid Root cause analysis or solution. Can you update your proposal with solid RCA and solution? Or elaborate if I missed something.
Will definitely edit and reply. Thanks for the feedback.
@kevinksullivan @MitchExpensify @abdulrahuman5196 @roryabraham 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!
No new proposal to review
Upwork job price has been updated to $500
increasing price and still waiting on proposals.
the issue is not reproducible on my side, am i missing any step?
https://github.com/Expensify/App/assets/59809993/1625bbe9-839b-4ad4-870c-bf28466689cb
@kevinksullivan, @abdulrahuman5196, @roryabraham Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@kevinksullivan, @abdulrahuman5196, @roryabraham 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
I also am unable to reproduce this using the same instructions. @lanitochka17 can you reliably reproduce this?
closing for now unless we can get reliable steps
@kevinksullivan @roryabraham Be sure to fill out the Contact List!
Issue is still reproducible on the latest build 9.0.4-7 Iphone 14 Pro Max/IOS17 The same steps
https://github.com/Expensify/App/assets/78819774/c2529b7d-626a-4447-867d-7d9b974e92dc
@kevinksullivan @abdulrahuman5196 @roryabraham @lanitochka17 this issue is now 4 weeks old, please consider:
Thanks!
@kevinksullivan, @abdulrahuman5196, @roryabraham, @lanitochka17 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
@kevinksullivan, @abdulrahuman5196, @roryabraham, @lanitochka17 Eep! 4 days overdue now. Issues have feelings too...
@kevinksullivan, @abdulrahuman5196, @roryabraham, @lanitochka17 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!
adding to collect since this is VBBA related
Ok, adding the retest-weekly label to keep an eye on this. We can accept other proposals here, but I'm not going to double this and instead we'll kind of wait-and-see if Apple fixes this.
I've noticed this across many different websites on my phone. Noticed it at least twice today on other sites.
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: 1.4.81-1 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/38726
Action Performed:
Expected Result:
The keyboard shouldn't flicker
Actual Result:
Keyboard is flickering when entering or deleting magic code at bank account flow for an unverified account. The text under is becomes visible for a very short time
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/750e57f4-7e3b-4038-8c8a-f3a5e115f86c
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @abdulrahuman5196