-
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
[$1000] Confirm Task menu item is cut off on touch #18753
Comments
Triggered auto assignment to @flaviadefaria ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.Confirm Task menu item is cut off on touch (if it consist icon, desc content) for native android etc. What is the root cause of that problem?Task menu item rendered via App/src/components/TaskSelectorLink.js Lines 50 to 60 in 2fca384
We can see at line 57 it is using Lines 1685 to 1692 in 2fca384
We can see
So This is the root cause of the problem i.e. when we touch it will cut off the touch. What changes do you think we should make in order to solve the problem?Within taskSelectorLink: {
...
//height: 42, // *** OLD CODE ***
minHeight: 42, // *** NEW CODE ***
...
}, As we set minHeight so no need to set //const linkBottomMargin = props.icons.length !== 0 ? styles.mb6 : styles.mb2; // *** REMOVE THIS ***
<TouchableOpacity
//style={[styles.flexRow, styles.taskSelectorLink, linkBottomMargin]} // *** OLD CODE ***
style={[styles.flexRow, styles.taskSelectorLink, styles.mb2]} // *** NEW CODE ***
....
> This will solve the issue and work as expected on all platform as shown in video for iOS and Android. What alternative solutions did you explore? (Optional)None ResultsAndroidAndroid.mp4iOSiOS.mov |
ProposalPlease re-state the problem that we are trying to solve in this issue.Confirm Task menu item is cut off on touch What is the root cause of that problem?We are fixing height for Line 1687 in 1d951e6
What changes do you think we should make in order to solve the problem?Because we are allowing fontScale, that's bad idea to fix the height of a field, in order to fix this problem, we will need to remove the height of taskSelectorLink: {
alignSelf: 'center',
// remove the height of TaskSelectorLink
// height: 42,
width: '100%',
padding: 6,
margin: 3,
backgroundColor: themeColors.transparent,
}, We can also replace the App/src/components/TaskSelectorLink.js Line 54 in 1d951e6
and here: App/src/pages/tasks/NewTaskPage.js Lines 162 to 195 in 1d951e6
What alternative solutions did you explore? (Optional)None |
Job added to Upwork: https://www.upwork.com/jobs/~01a0d40385abc3107d |
Current assignee @flaviadefaria is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @abdulrahuman5196 ( |
Triggered auto assignment to @stitesExpensify ( |
Thank you for the proposals. Will take a look into it in couple of hours |
@abdulrahuman5196 just a heads up, this visual bug is addressed in an iteration of the Tasks project here: https://github.com/Expensify/App/pull/18672/files#diff-8ab8ba45ab927f1430b8d1209d187e003a9cdfe476f809e4483ef64cdba253eb |
Thanks for the headsup @cdanwards. Then we can have this issue on hold. Once the #18672 PR is merged, we can re-verify and close out this issue if not reproducible then. |
@stitesExpensify should you put this on hold and switch it to weekly? |
@flaviadefaria The PR is already merged. Will check if the issue is reproducible and update before EOD. We can take action based on that. |
I don't see this issue in main after the PR merge. I think we can close this issue. Screen.Recording.2023-05-16.at.7.59.06.PM.mov |
Me too. Just saw that the |
Perfect so closing this! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
The menu should stay fully visible
Actual Result:
The menu getting cut off
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.12
Reproducible in staging?: y
Reproducible in production?: y
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
Screen.Recording.2023-05-10.at.21.55.07.mov
Expensify/Expensify Issue URL:
Issue reported by: @bernhardoj
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683727180608179
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: