-
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] Bank Account - Arrow next to bank account selector is not clickable #35083
Comments
Triggered auto assignment to @Julesssss ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
This is an issue with all pickers in the app and has existed before. Also reproducible on prod with Distance Rate Unit Picker: Screen.Recording.2024-01-25.at.2.07.17.AM.movnot a deploy blocker cc: @Julesssss |
ProposalPlease re-state the problem that we are trying to solve in this issue.Bank Account - Arrow next to bank account selector is not clickable What is the root cause of that problem?This is a bug in What changes do you think we should make in order to solve the problem?We can solve it by adding Resultarrow_click.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Arrow not pressable What is the root cause of that problem?The issue is within the What changes do you think we should make in order to solve the problem?Change the 2024-01-25.15.34.47.mp4<MenuItemWithTopDescription
title={------}
description={props.translate('-------')}
shouldShowRightIcon
disabled={-------}
onPress={() => Navigation.navigate(ROUTES.-------)}
/> |
I think we had decided to place the |
Although we can but this issue is not about design. But I don't there is an issue because it has been always like this.. |
A solution that fix the issue and make the UI better is preferable :) |
Going off the original issue topic isn't a solution😄 |
@Krishna2323 how can you
if the icon is from a native module where you don't have access to edit it!!! |
I tested on all platforms and it works just fine, we already have access to the icon container where we apply the absolute positioning styles and pointerEvents none. Let C+ decide first... |
@Krishna2323 from the doc of the component styling https://github.com/lawnstarter/react-native-picker-select#styling |
If it doesn't work on android, this will work. Pls wait on for C+. |
Yes your ptoposal does not work on Android even with the workaround you mentioned. The QA lmentioned above that this issue is within Android: Native also. |
I can't reproduce on android & ios native. I think, we already solved the android issue with the solution prop provided by the picker select repo. Pls wait on for C+ decision instead of trying to prove my solution wrong. |
@jules @thienlnam, can we make this external now? |
We had experienced this in the past while working on dark theme for picker component. |
If making external, happy to take this as C+ as I already have context |
@Julesssss Huh... This is 4 days overdue. Who can take care of this? |
This is a visually transparent element, applying bg color again is unnecessary. This also helps us solve the problem without touching native platform styles. Let C+ decide here, thanks! |
App/src/components/LocalePicker.tsx Line 49 in 3ab4e6e
|
Hey, @Krishna2323! The bg color is applied on a visually transparent area, On the UI, this is without bounding boxes, and the picker always mirrors the color of the page. Applying bg color again is unnecessary here. This simplifies the picker element for App, also mirror the original source coming from our own fork of Since the picker was not designed in app and comes from a fork, proposal here points to the minimal changes to required to fix this. I appreciate your concerns but let C+ decide here, thank you! |
@neonbhai, even if we don't need bg here (which I'm sure that is needed https://github.com/Expensify/App/pull/14984/files#diff-8ab8ba45ab927f1430b8d1209d187e003a9cdfe476f809e4483ef64cdba253ebR601), I would still say what matters here is the solution, which is to move the icon container behind the input, by putting zIndex to -1 or 1. Your proposal came after mine which uses the same general approach as mine, bg is totally optional thing if that needs to be changed. Lets wait for @aimane-chnaif's decision. |
Thanks for the discussions everyone. I will update shortly |
@Julesssss, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick! |
None of proposed solutions work on Windows. |
@aimane-chnaif do you want a solution to fix ? |
I don't think we should deprecate Picker and change to push-to-page. |
@aimane-chnaif, i think it work on windows as well, can you pls recheck 🙏, we also need to se background for options bandicam.2024-02-12.15-54-53-962.mp4 |
@Krishna2323 still your solution is just to add |
Yes |
@Krishna2323 I retested but that still causes regression. |
@aimane-chnaif, you need to set the background color of the |
You said Please share testing branch |
I meant my solution also includes |
@aimane-chnaif pls check #34849 The team and the contributors are on the path to replace the On of the update is here: This was about the Unit component and when I tested this issue the app was using the I think it's better to use a better component and make the UI consistent better than having the Pciker with all the bugs and seeking a workaround to edit it. What do you think? You mentioned we already use the Picker in oither places! I think we are going on a path to replace all of those with |
@dragnoir what about signin language picker? |
@aimane-chnaif this one ? Ther'is no issue there with the arrow icon, it's clickable without issue. |
Interesting. What's the difference between small picker and larger picker? |
@aimane-chnaif all Picker are now working perfectly. Seems something with the last cleans on the patches. 20240213_121551.mp4I think we can close this issue if it's just relevant to the click issue. But it's better to use the new component |
Indeed fixed in #36117 (merged today) @Julesssss I think we can close this as fixed unless we're going to refactor to push-to-page |
Thanks all
That's going to need to be a separate discussion I think |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.31-3
Reproducible in staging?: Y
**Reproducible in production?:**No, unable to check prod
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #35032
Action Performed:
Expected Result:
Account dropdown with the list of available bank accounts should open
Actual Result:
Clicking on arrow does not open or close the dropdown
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6353486_1706117422056.2024-01-24_17-14-08.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: