-
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
[Distance] IOU Distance - Recent list disappears after clearing address field, leaving a big space #26482
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @grgia ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.On clearing the text list shows empty space What is the root cause of that problem?On input change within App/src/components/AddressSearch/index.js Lines 336 to 339 in 5db2445
Based on App/src/components/AddressSearch/index.js Line 346 in 5db2445
Lines 1190 to 1192 in 5db2445
What changes do you think we should make in order to solve the problem?When
ResultScreen.Recording.2023-09-01.at.21.25.21.mov |
I will be fixing this with a new PR (taking changes from #25990) |
@huzaifa-99 I think this issue is not due to your PR as we are passing |
@Pujan92 Yes its directly not related to my changes. But i am not sure if we should treat it as regression or bug here since this issue was not visible before my changes. |
It exists from this PR, but at that moment we don't have any other content below that so not easily caught. Since you added the current location option below that which highlights the issue. After checkout the mentioned PR commit Screen.Recording.2023-09-01.at.21.48.40.mov |
We reverted the offending PR. Removing the blocker label. |
@huzaifa-99 when you open the new PR, please link this issue there |
@hayata-suenaga sure. Thanks |
@hayata-suenaga just to inform this issue is not from the reverted PR. If you still think it needs to be considered with the @huzaifa-99 PR, I am fine but wanted to highlight it! :) |
There were 2 ways to solve this When text in search is empty
I believe if places are |
@huzaifa-99 I don't have much background why
What are we scaling down? |
I am not entirely sure about the UI flickering either, but the
I will do more digging into this and update. |
@hayata-suenaga
It seems scaling down was added to avoid showing the empty area which created through padding when user searches but there aren't any options. Now we don't require scaling down part as we have a separate If we remove the Screen.Recording.2023-09-02.at.18.07.06.mov |
ah yea I see that ![]()
@huzaifa-99 unless you're already handling this in your second-attempt current location PR, @Pujan92 can work on the fix 👍 |
@hayata-suenaga Actually I already made a commit for this in the pr. Similar to what was suggested by @Pujan92 |
@huzaifa-99 still we need to make a change to get rid of App/src/components/AddressSearch/index.js Line 350 in 6b1a667
Lines 1044 to 1057 in 6b1a667
|
@Pujan92 Sounds good to me |
We need still scaling for the smooth transition for hiding the hint and showing the list otherwise it flickers a bit. So @hayata-suenaga what @huzaifa-99 added in their PR seems fine to me. Screen.Recording.2023-09-05.at.16.09.05.mov |
thank you for confirming! |
This issue has not been updated in over 15 days. @Pujan92, @hayata-suenaga 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! |
are we good to close this issue? seems like @huzaifa-99 fixed this issue in their PR? |
yes @hayata-suenaga |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Issue found when executing PR #25990
Action Performed:
Expected Result:
The recent address list will not disappear
Actual Result:
The recent address list disappears, leaving a huge space between the address field and Use current location button
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.61-1
Reproducible in staging?: Yes
Reproducible in production?: No
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
Bug6184883_bandicam_2023-09-01_17-41-32-773.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: