You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2021-12-27] Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat #6496
Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
changed the title [-]Workspace settings - Modals are not scrollable in landscape mode[/-][+]Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat [/+]on Nov 26, 2021
i.e. Change line 138 from <View style={[styles.pageWrapper, styles.flex1, styles.alignItemsStretch]}>
to <ScrollView style={[styles.flex1]} contentContainerStyle={[styles.p5, styles.alignItemsStretch]}>
Not sure but if need we have to do similar changes on other pages if need.
Apart from it, I can see that there are some duplicate styling used for this component and I will clear it as well. Such as styles.settingsPageBackground is not needed here.
@stephanieelliott : It looks like @parasharrajat is the one that's more of a long term solution to this problem as opposed to a workaround so I'd go with that.
changed the title [-]Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat [/-][+][HOLD for payment 2021-12-27] Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat [/+]on Dec 20, 2021
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.21-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
Awaiting PaymentAuto-added when associated PR is deployed to productionEngineeringExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
Activity
MelvinBot commentedon Nov 26, 2021
Triggered auto assignment to @Dal-Papa (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.[-]Workspace settings - Modals are not scrollable in landscape mode[/-][+]Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat [/+]PrashantMangukiya commentedon Nov 26, 2021
Proposed Solution:
We have to replace
<View>with<Scrollview>for various page used in workspace settings as under:Within src/pages/ReimbursementAccount/BankAccountStep.js change line 179
App/src/pages/ReimbursementAccount/BankAccountStep.js
Lines 178 to 179 in 2aaa8fd
i.e. Change
<>to<ScrollView>Within src/pages/workspace/bills/WorkspaceBillsPage.js Change line 27
App/src/pages/workspace/bills/WorkspaceBillsPage.js
Lines 26 to 27 in 85d9a21
i.e. change
<>to<ScrollView style={[styles.flex1]} contentContainerStyle={[styles.pb5]}>Within src/pages/workspace/card/WorkspaceCardPage.js Change line 28
App/src/pages/workspace/card/WorkspaceCardPage.js
Lines 27 to 28 in 85d9a21
i.e. Change
<>to<ScrollView style={[styles.flex1]} contentContainerStyle={[styles.pb5]}>Within src/pages/workspace/invoices/WorkspaceInvoicesPage.js Change line 27
App/src/pages/workspace/invoices/WorkspaceInvoicesPage.js
Lines 26 to 27 in 85d9a21
i.e. change from
<>to<ScrollView style={[styles.flex1]} contentContainerStyle={[styles.pb5]}>Within file src/pages/workspace/reimburse/WorkspaceReimbursePage.js Change line 27
App/src/pages/workspace/reimburse/WorkspaceReimbursePage.js
Lines 26 to 27 in 85d9a21
i.e Change from
<>to<ScrollView style={[styles.flex1]} contentContainerStyle={[styles.pb5]}>Within file src/pages/workspace/travel/WorkspaceTravelPage.js Change line 27
App/src/pages/workspace/travel/WorkspaceTravelPage.js
Lines 26 to 27 in 85d9a21
i.e. Change from
<>to<ScrollView style={[styles.flex1]} contentContainerStyle={[styles.pb5]}>Within file src/pages/workspace/WorkspaceSettingsPage.js Change line 138
App/src/pages/workspace/WorkspaceSettingsPage.js
Lines 137 to 138 in 85d9a21
i.e. Change line 138 from
<View style={[styles.pageWrapper, styles.flex1, styles.alignItemsStretch]}>to
<ScrollView style={[styles.flex1]} contentContainerStyle={[styles.p5, styles.alignItemsStretch]}>Not sure but if need we have to do similar changes on other pages if need.
Below is the screen record after this updates:
iOS.mp4
parasharrajat commentedon Nov 26, 2021
Proposal
WorkspacePageWithSections. There is one issue with the styling ofWorkspacePageWithSectionswrapper.ScrollViewbut makes the content containerflex:1which will block the scrolling.To fix this
styles.flex1style from thecontentContainerStyleatApp/src/pages/workspace/WorkspacePageWithSections.js
Line 77 in 85d9a21
It will fix all the pages in one shot.
Apart from it, I can see that there are some duplicate styling used for this component and I will clear it as well. Such as
styles.settingsPageBackgroundis not needed here.Dal-Papa commentedon Nov 29, 2021
Sounds like there are good proposals. Slapping the
Externallabel on this bad boy.MelvinBot commentedon Nov 29, 2021
Triggered auto assignment to @stephanieelliott (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.stephanieelliott commentedon Nov 29, 2021
Posted to Upwork: https://www.upwork.com/jobs/~017a033299ad4b8dff
@Dal-Papa which proposal shall we go with here?
Dal-Papa commentedon Nov 30, 2021
@stephanieelliott : It looks like @parasharrajat is the one that's more of a long term solution to this problem as opposed to a workaround so I'd go with that.
18 remaining items
MelvinBot commentedon Dec 9, 2021
Current assignee @parasharrajat is eligible for the Exported assigner, not assigning anyone new.
MelvinBot commentedon Dec 9, 2021
Triggered auto assignment to @marcochavezf (
Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.stephanieelliott commentedon Dec 9, 2021
@parasharrajat can you grab the Upwork job when you get a chance so I can hire you: https://www.upwork.com/jobs/~017a033299ad4b8dff
parasharrajat commentedon Dec 9, 2021
Sorry, @stephanieelliott I missed the earlier ping. Applied now.
[-]Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat [/-][+][HOLD for payment 2021-12-27] Workspace settings - Modals are not scrollable in landscape mode - Reported by: @parasharrajat [/+]botify commentedon Dec 20, 2021
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.21-1 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 2021-12-27. 🎊
laurenreidexpensify commentedon Dec 28, 2021
@parasharrajat $500 paid - $250 for reporting, $250 for solution