-
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 facebook/react-native#40762][$2000] Left-most characters are hidden if text in line is longer than screen size #15310
Comments
Triggered auto assignment to @sonialiap ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @johnmlee101 ( |
Yo @johnmlee101 - I implemented this page (Home address) recently, but I'm not sure if this is really a bug that needs to be fixed (a.k.a. i'd be curios to know where the cursor is after typing the long state / province name, and what happens if you change focus to a new field) Anyway, if this is something that is a bug, I wonder how it could be happening on only the Home address page, I assume it would be happening in other forms too? Maybe? Just adding my 2 cents here :D |
This isn't huge, but I think we should change the behavior so that the lines default to showing the left-most position. English is read left to right so we should facilitate that |
Agreed, @Beamanator I think that the expectation is that pre-filled entries should be defaulted to the left-most cursor. I bet in our other forms/fields we don't auto-fill entries in the same way, right? |
Thanks for so much testing @sonialiap ! I feel like showing the text starting from the leftmost characters makes the most sense in those flows
Good question? I assumed these forms would act the same as other pages using the |
Yeah I bet the solution here would probably include a larger change to prefilling Form components and defaulting the cursor to the left, not the right. Something about onInputChange on the Form component when its prefilled here: App/src/components/AddressSearch.js Line 147 in 278e2fb
|
Ya that would make sense to me 👍 |
Opening this up since I bet we need to have some cases where onInputChange should change cursor position while others do not |
Job added to Upwork: https://www.upwork.com/jobs/~01450fe2eb8c10f817 |
Current assignee @sonialiap is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Current assignee @johnmlee101 is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.The leftmost characters of a TextInput on Android native are hidden after blurring the field or auto-filling text. What is the root cause of that problem?The issue is caused by the lack of scrollTo implementation in the TextInput component. What changes do you think we should make in order to solve the problem?Implement changes into our RN fork for setting
Here's an example (some code removed to protect my idea): https://gist.github.com/redstar504/92cf6b724ee42ae67c61446b7a46c545 What alternative solutions did you explore? (Optional)I originally had an implementation using setSelection but I wasn't happy with it because it relied on hacking the selection/cursor. Using |
@johnmlee101, @s77rt, @sonialiap, @OlimpiaZurek Whoops! This issue is 2 days overdue. Let's get this updated quick! |
I'm going OOO until Oct 23, changing to Weekly because of that and the hold |
Hi, why is melvin sending 50$ offer? I am well aware of the new rule of $50 but this issue was created on Feb 20, thus it should have sent me $250. Thus, I have accepted the $50 offer, can anyone send me the remaining $200, when the issue gets resolved? |
@priya-zha the issue creation/offer sending automation doesn't account for dates so it sends the $50 new default regardless of when the issue was reported. Since the issue was reported in Feb, 2023 you should be paid $250 👍 |
Still on hold for facebook/react-native#40762 |
Still on hold |
Same ^ |
Same ^ |
Still on hold for facebook/react-native#40762 |
Same ^ |
This is held on an upstream fix that hasn't been worked on since Oct. I'm closing this as low priority |
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:
There should be consistency between MWEB and Android. The last few letters of the state name should be hidden in android too in a similar way to how Mweb displays it.
Actual Result:
Using a big state name in android hides the first few letters of the name unlike MWEB chrome
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.74-0
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:
state.mp4
az_recorder_20230220_152323.1.mp4
Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1676873662255729
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: