-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-04-08] [Due for payment 2025-03-24] [Due for payment 2025-03-21] [$250] Android - Search - Text in search input, bounces with every letter added to the search. #56526
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
Comments
Triggered auto assignment to @zanyrenney ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Search - Text in search input, bounces with every letter added to the search. What is the root cause of that problem?
App/src/components/TextInput/BaseTextInput/index.native.tsx Lines 402 to 408 in 33a03bf
What changes do you think we should make in order to solve the problem?use {inputProps.isLoading !== undefined && (
<ActivityIndicator
size="small"
animating={!!inputProps.isLoading}
color={theme.iconSuccessFill}
style={[styles.mt4, styles.ml1, loadingSpinnerStyle]}
/>
)} Option 2: {!!inputProps.canShowLoading && (
<ActivityIndicator
size="small"
animating={!!inputProps.isLoading}
color={theme.iconSuccessFill}
style={[styles.mt4, styles.ml1, loadingSpinnerStyle]}
/>
)} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
App/src/components/TextInput/BaseTextInput/index.native.tsx Lines 402 to 408 in 33a03bf
What changes do you think we should make in order to solve the problem?
{inputProps.isLoading !== undefined && (
<ActivityIndicator
size="small"
color={theme.iconSuccessFill}
style={[styles.mt4, styles.ml1, loadingSpinnerStyle, {opacity: inputProps.isLoading ? 1 : 0}]}
/>
)}
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional)
{inputProps.isLoading !== undefined && (
<ActivityIndicator
size="small"
animating={inputProps.isLoading}
key={String(inputProps.isLoading)}
color={theme.iconSuccessFill}
style={[styles.mt4, styles.ml1, loadingSpinnerStyle]}
/>
)} or <View style={[{flexDirection: 'row', justifyContent: 'center', alignItems: 'center'}, props.isLoading !== undefined && {width: 20}]}>
{!!inputProps.isLoading && (
<ActivityIndicator
size="small"
color={theme.iconSuccessFill}
style={[styles.mt4, styles.ml1, loadingSpinnerStyle]}
/>
)}
</View> |
@zanyrenney Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@zanyrenney Huh... This is 4 days overdue. Who can take care of this? |
@zanyrenney Still overdue 6 days?! Let's take care of this! |
Adding the external label here. |
Job added to Upwork: https://www.upwork.com/jobs/~021890466625787121780 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf ( |
hey @allgandalf please can you review the proposals above and pick one for us to progress forward with? |
Hello @zanyrenney I can review the above proposals and fix this bug |
📣 @DanylovskyiAM! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Text in search input, bounces with every letter added to the search What is the root cause of that problem?When we input new text, the ActivityIndicator appears, which takes up space. This pushes the text to the left. When the ActivityIndicator hides, the text moves back to the right.
App/src/components/TextInput/BaseTextInput/index.native.tsx Lines 402 to 408 in 0323f42
What changes do you think we should make in order to solve the problem?To resolve this issue, we just need to add
Update to:
If we want to check if it is native, we should check the platform to determine whether to add this style. If it is native, we add the style; otherwise, for different native platforms, there is no need to add it. If we want to show a background for Screen.Recording.2025-02-17.at.11.00.13.mp4What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
I'll review this one today |
Added to quality. |
Still testing proposals from contributors |
@allgandalf I raised the PR. Please help to check again. Thanks |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.12-7 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 2025-03-21. 🎊 For reference, here are some details about the assignees on this issue:
|
@allgandalf @zanyrenney @allgandalf The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.13-5 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 2025-03-24. 🎊 For reference, here are some details about the assignees on this issue:
|
@allgandalf @zanyrenney @allgandalf The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
payment summary @allgandalf requires payment automatic offer (Reviewer) - paid 250 via upwork. |
Oops, got a little trigger happy @allgandalf please can you add the checklist! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Test:
Verify: With every letter added, content in search input not bouncing move and display green loader Do we agree 👍 or 👎 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.21-3 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 2025-04-08. 🎊 For reference, here are some details about the assignees on this issue:
|
@allgandalf @zanyrenney @allgandalf The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.95-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Motorola MotoG60 - Android 12
App Component: Search
Action Performed:
Expected Result:
Content in search input shouldn´t move when adding more text and the green loader is displayed.
Actual Result:
Text in search input bounces everytime the user adds a letter and the loader appears.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6735812_1738894933713.Bounce.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @zanyrenneyThe text was updated successfully, but these errors were encountered: