-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[$2000] mWeb/Safari -The list of countries opens in different sizes when clicking on different lines #16081
Comments
Triggered auto assignment to @anmurali ( |
Bug0 Triage Checklist (Main S/O)
|
Reproduced only on iOS/Safari |
Job added to Upwork: https://www.upwork.com/jobs/~011bc5d3c6e8254d08 |
Triggered auto assignment to @tjferriss ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
Triggered auto assignment to @AndrewGable ( |
It's not the same issue but these two seem like they could have a similar fix? |
For the sorting issue we must use _.sortBy instead of _.map . |
📣 @hohner2008! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
@hohner2008 Thanks for your interest but can you please follow the proposal template? (checkout contributing guide) |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb/Safari -The list of countries opens in different sizes when clicking on different lines What is the root cause of that problem?When switching from an input to a select, the keyboard is not hidden yet, so the select popup list box can only occupy half of the screen height What changes do you think we should make in order to solve the problem?We can hide the keyboard before popping up the list box. In fact, the browser will hide the keyboard, but we hide the keyboard in advance so that the browser can correctly calculate the height of the list box selectedValue={selectedItem.value}
{...pickerProps}
+ onPointerUp={(event) => {
+ Keyboard.dismiss();
+ if (pickerProps.onPointerUp) {
+ pickerProps.onPointerUp(event);
+ }
+ }} What alternative solutions did you explore? (Optional)None |
ProposalPlease re-state the problem that we are trying to solve in this issue.Country picker dropdown size differs when soft keybord is open on iOS Safari. What is the root cause of that problem?When user directly taps on the country picker, soft keyboard is not present and browser makes use of entire browser height to render the select dropdown. Once user focus any of the other inputs, soft keyboard opens up and reduces the available screen height of the page. Now if user tries to open country picker browser renders a smaller select dropdown because of reduced screen height. What changes do you think we should make in order to solve the problem?This issue is not specific to Country picker but applicable to Picker component in general. Soft keyboard should be dismissed before opening select dropdown. Otherwise browser will render a smaller picker component. Picker component is internally using Add touchEnd listener to pickerProps like below pickerProps={{
onFocus: this.enableHighlight,
...
onTouchEnd: (e) => {
if (document.activeElement !== e.target) {
document.activeElement.blur();
}
}
}, After Fixafter.mp4 |
📣 @aswin-s! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Format:
|
Contributor details |
@AndrewGable Please leave a link to Slack if a discussion has been opened. |
@anmurali it looks like I was also assigned to this one somehow after you were initially assigned as the BZ team member. I'm going to un-assign myself now. Let me know if I'm misunderstanding. |
@AndrewGable @anmurali @s77rt this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
We have a proposal already but with a slight drawback. Waiting for @AndrewGable's feedback |
Same ^ |
Ok reviewed the proposal and it seems fine. @hellohublot - Please submit the PR to both the fork and upstream repo. |
📣 @hellohublot You have been assigned to this job by @AndrewGable! |
@anmurali Please revert the price to $1K |
Fork PR was merged |
Agree with @s77rt - Change was deployed with a different PR, but we should payout manually. |
@hellohublot @s77rt - Please make sure to track this one and make sure all payouts are correct since we are not able to use the automation here. |
@anmurali Sorry to bother you, but this issue has not been paid yet, it has the same pay date as #16329, due to Expensify Reviewer's delay in doing the merge, so I guess me and C+ Reviewer can have +50% bounty, Thanks cc: @AndrewGable |
@anmurali Hello.. Bump^ |
@hellohublot can you clarify the amounts that need to be paid out. I see comments about reverting the price to $1000. Is that right? |
@anmurali Yes, it's right ! |
Paid, added the $500 bonus to both as well. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The sheet with the list of countries should open in the same size
Actual Result:
The list of countries opens in different sizes when clicking on different lines
Workaround:
Uknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.87.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Bug5981157_country_16.03.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: