-
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
[HOLD for payment 2024-03-29] IOS - Workspace - Offline indicator in workspace page overlaps with navigation bar #38520
Comments
Triggered auto assignment to @abekkala ( |
We think that this bug might be related to #wave-collect - Release 1 |
@abekkala I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?We set App/src/pages/workspace/WorkspaceInitialPage.tsx Lines 249 to 252 in 5770e23
This in overturns the below style for bottom padding: App/src/components/ScreenWrapper.tsx Lines 224 to 226 in 5770e23
What changes do you think we should make in order to solve the problem?Remove the What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.ios - Offline indicator overlaps with navigation bar. What is the root cause of that problem?ScreenWrapper has App/src/pages/workspace/WorkspaceInitialPage.tsx Lines 249 to 252 in 5770e23
What changes do you think we should make in order to solve the problem?Remove padding style and replace it with this: <ScreenWrapper
testID={WorkspaceInitialPage.displayName}
shouldEnablePickerAvoiding={false}
shouldShowOfflineIndicatorInWideScreen
> Similar usage here: App/src/pages/workspace/WorkspacesListPage.tsx Lines 390 to 394 in 5770e23
ResultWhat alternative solutions did you explore? (Optional) |
This bug is also visible for Collect Workspaces and my proposal fixes it for both the views :) |
hello @rmm-fl , App/src/components/ScreenWrapper.tsx Line 264 in 5770e23
|
This is follow-up of ideal nav v2 |
ProposalPlease re-state the problem that we are trying to solve in this issue.IOS - Workspace - Offline indicator in workspace page overlaps with navigation bar. What is the root cause of that problem?Padding is being set as 0. App/src/pages/workspace/WorkspaceInitialPage.tsx Lines 249 to 253 in 34fa987
This is happening only on iOS because we don't have this horizontal bottom bar on other platforms. If we use fullscreen mode in Android, then we might be able to see the same issue there as well. What changes do you think we should make in order to solve the problem?We should add a condition which only uses 0 padding if user is online. If user is offline, then the style will be set to undefined and padding would be set inside ScreenWrapper.
Then, padding would be taken from here: App/src/components/ScreenWrapper.tsx Lines 223 to 226 in 34fa987
In the above condition |
@mkhutornyi Because it's follow-up to ideal-nav-v2, I can look into it :) As far as I know, removing style prop from the ScreenWrapper in |
Triggered auto assignment to @marcaaron, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.55-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-03-29. 🎊 |
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Please assign me here |
PAYMENT SUMMARY FOR MAR 29
|
@slafortune will be handling payment for me while I'm ooo |
Paid |
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.54-0
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Offline indicator will not overlap with navigation bar.
Actual Result:
Offline indicator overlaps with navigation bar.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: