-
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 App#51475] [$250] Request money component is jumpy when entering the digits #19961
Comments
Triggered auto assignment to @arielgreen ( |
Bug0 Triage Checklist (Main S/O)
|
Hey, I was bringing up that issue originally. It seems that not every device is able to reproduce the issue. However, I tested it with 5 different phones in our office, among it high end phones like the newest iPhones and the issue is reproducible on all of them 🤔 (so the issue is on android and iOS). (In addition I'd like to work on that issue once QA can confirm its reproducible). |
Also on Web it's not jumping, but you can see, if you look very closely, that the number shows with one frame delay. This is due to the fact that we first put the text inside a Text view, measure it, and then change the size of the input. I think it makes sense to rework the autoGrow functionality, so it isn't delayed by a frame (and on mobile doesn't jump). trim.7B871403-74B5-417A-834A-C5C089118E2D.MOV |
@hannojg Let us know what the next steps on this one would be |
Job added to Upwork: https://www.upwork.com/jobs/~0115f73500419bbdad |
Current assignee @arielgreen is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Current assignee @mountiny is eligible for the External assigner, not assigning anyone new. |
Not overdue |
We could put this on hold for #16696 until we settled on a decision there. However, in the meantime, I am already experimenting with some solutions for a better implementation of the |
Oh absolutely, thanks for the ping! @mountiny |
Okay, i started to look into this again, the solution for mobile is to remove the manual text input measurement growth. A text input can automatically grow based on the input length on mobile. I was starting to implement a PR here: However, the code has changed a lot since then so I will open a new PR 😊 |
I created a PR that removed the manual autoGrow calculation and let the platform components handle the width growth: The effect is already less visible, but its not entirely gone. There seems to be an underlying issue in react native's iOS text input implementation causing the problem. In a clean iOS app using UIKit/UITextField everything works fine, but in a clean react native app just using TextInput you can see the numbers getting cut off: Screen.Recording.2024-10-04.at.14.43.43.movWill open an upstream issue ticket + PR! |
Theoretically we could already move on with the PR and add the react native fix after. or we wait first for the react native fix and add that to the PR. Not sure |
Thanks @hannojg Do you think you could try to fix this upstream? then we can apply the fix in a patch and removed once its in a new RN version |
Yes, working on an upstream fix right now 😊 👍 |
Update: i think i found a viable fix that makes sense and i don't see any other way to fix this: However, i first want to check with meta if they are cool with this change / if they have any other solution in mind. Currently waiting to receive an invite to the discord channel with meta (can you help with that @mountiny ?) as this seems to be the preferred procedure when trying to make changes in react native for expensify. |
I think @AndrewGable or maybe @tomekzaw might be able to ask someone? Who are good people to reach out about the discord invite? |
I can invite internal Expensify team members, but might be best to ask @mrousavy or someone from your team for an invite @hannojg! (I think @chrispader was just added last month) |
Hey, i just joined the React Contributors react discord - are you able to add me into the according channels? |
I don't think I can add you, but #contributors-hub might be the best channel to discuss? |
Already invited you hanno. |
Update: My solution was judged as "makes sense" from two core contributors. It was forwarded to some other people for a final pass, so i am confident that the solution will be used moving forward. |
Okay, i finally have a PR up in react-native: Will update our PR shortly! |
Okay, the PR is updated. However, i noticed that my patch doesn't work 100% when bridgeless mode is turned off. As we are working on turning that on (and looks like we are close), I'd like to take this on hold for: |
Update: bridgeless support was merged, but was deactivated on android again. Lets put this on hold for this PR where we aim to reactivate bridgeless mode for android: |
updated the hold |
This issue has not been updated in over 15 days. @hannojg, @mountiny, @zanyrenney, @aimane-chnaif eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
On hold |
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:
+
in the compose box > Request moneyExpected Result:
No jumpy behavior when entering the digits
Actual Result:
Request money component is jumpy
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.22
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
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-06-01.at.16.05.20.mov
Expensify/Expensify Issue URL:
Issue reported by: @mountiny
Slack conversation: https://expensify.slack.com/archives/C9YU7BX5M/p1685628667713269
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @hannojgThe text was updated successfully, but these errors were encountered: