-
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
[$500] Distance - Clicking on Use current location when suggestion list is open does not trigger action #29015
Comments
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
|
Triggered auto assignment to @deetergp ( |
This doesn't look like an issue. When we open the suggestion list and click outside anywhere the list will close (on web). |
@lanitochka17 You can't say that clicking on "Use current location" works in production if that link does not exist on production. Not a deploy blocker, but I agree that clicking on the link should work as intended, rather than simply trigger hiding the list when clicking outside it. |
Job added to Upwork: https://www.upwork.com/jobs/~01cd6068abd5a84d8a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
Actually, the dropdown list is linked with the address search input, when the input loses focus we hide the list. I think we can just change the cursor on the 'use current location' button when the list is open. |
@huzaifa-99 doesn't clicking the "Use current lcoation" button both make the input loose focus and the onPress callback to be invoked? |
ProposalPlease re-state the problem that we are trying to solve in this issue.When an address suggestion list is open, clicking on "Use current location" button is not working. What is the root cause of that problem?The RCA here is that the "Use current location" button is located below the expanding suggestion lost. So when we click on it:
However, after the list hides, the button changes its location, and the press event clicks an empty space. You can prove it by, for example, simply changing the position of this button to above the waypoint search field. What changes do you think we should make in order to solve the problem?A simple solution is to move the "Use current location" button on top of the search field, which will make the button's position independent from the list: current-location.movWhat alternative solutions did you explore? (Optional) |
In theory, it should yes, but the button doesn't get the click when the list changes position (similar to what @paultsimura mentioned)
cc: @hayata-suenaga |
ah this is tricky... |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Ok great, looks like @jjcoffee gave the thumbs up so closing it out. |
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 #26546
Action Performed:
Expected Result:
Since the cursor displays as a hand when hovering over 'Use current location', clicking on it should trigger the app to detect user's current location
Actual Result:
Clicking on 'Use current location' does not trigger the intended action of the button when the suggestion list is open.
On Android, it works without issue when the suggestion list is open
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.79-3
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
Bug6227689_1696606124772.20231006_213541__1_.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: