-
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
IOS - Assign task - Text is flickering in case of editing saved description field #20836
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @thienlnam ( |
This comment was marked as off-topic.
This comment was marked as off-topic.
@dan1d Please bring any setup related questions to #expensify-open-source in slack! |
Not a blocker, only happens when you go beyond the multiple lines. This appears to be a regression of this though |
Looks like this is a side effect of using the state to set the TextInput selection prop. It's happening in the After taking a look, I can use the
This is the way it's being done for the @sobitneupane What do you think of this approach? |
@akinwale We want the text to be scrolled as well. |
@sobitneupane Apparently, using the I'll try to find another solution that works, hopefully with the scrolling working properly too. |
I've spent quite a number of hours on this, and it appears that the TextInput just won't scroll to the end without user interaction. Every attempt that I've made to programmatically achieve this does not change the scroll position. I have tried the following:
I'd like to attempt wrapping the TextInput with a ScrollView as I've seen in some suggestions, which would allow being able to programmatically scroll the ScrollView using the If you also have any other ideas that may help here, please let me know so that I can try. Thanks. |
@akinwale, @sobitneupane, @thienlnam Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@akinwale Did we find any better solution that won't cause any regression? |
@sobitneupane I haven't found any. I experimented with wrapping the TextInput with a ScrollView but this breaks the input styling and also requires a fixed height to be set, so it doesn't autogrow. Right now, the viable options I can see in order to move forward are:
Please let me know what you think. Thanks. |
Is there any open issue for this on React Native? |
Yes, since 2020. facebook/react-native#30298 |
Oh no. We cannot wait for the issue that is open from 2020.😄 |
So, the best solution we have as of now is #20836 (comment) What's your opinion on this @thienlnam? |
Thank you both for your investigation into this - let's continue with this proposal to fix the regression for now #20836 (comment) But since there is an issue in RN for this, let's also try to get some proposals to resolve that root cause over there as well. |
@sobitneupane The PR is ready for review. As can be observed from my test videos, the description input automatically scrolls to the bottom when editing for every platform except iOS native. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.34-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2023-07-06. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
@akinwale, @sobitneupane, @thienlnam Huh... This is 4 days overdue. Who can take care of this? |
No payment due here since we fixed a regression |
Going to close this for now, I'd like to revisit facebook/react-native#30298 in the future to see if we can find someone to make a proposal for that |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Issue found when executing PR #19377
Action Performed:
Expected Result:
The user should be able to edit description fields without any issues
Actual Result:
Text is flickering in case of editing multi line description field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.28.3
Reproducible in staging?: yes
Reproducible in production?: new feature
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
Bug6094308_RPReplay_Final1686841212_2.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: