Skip to content

Commit

Permalink
Merge pull request Expensify#36205 from bernhardoj/feat/36055-make-wo…
Browse files Browse the repository at this point in the history
…rkspace-list-header-fixed

Make workspace list header position sticky
  • Loading branch information
Hayata Suenaga authored Feb 12, 2024
2 parents 58bdee3 + e6dbb40 commit eebd75e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/workspace/WorkspacesListPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function WorkspacesListPage({policies, allPolicyMembers, reimbursementAccount, r
}

return (
<View style={[styles.flexRow, styles.gap5, styles.mh5, styles.mv5, styles.pl5]}>
<View style={[styles.flexRow, styles.gap5, styles.p5, styles.pl10, styles.appBG]}>
<View style={[styles.flexRow, styles.flex1]}>
<Text
numberOfLines={1}
Expand Down Expand Up @@ -377,6 +377,7 @@ function WorkspacesListPage({policies, allPolicyMembers, reimbursementAccount, r
data={workspaces}
renderItem={getMenuItem}
ListHeaderComponent={listHeaderComponent}
stickyHeaderIndices={[0]}
/>
</View>
<ConfirmModal
Expand Down

0 comments on commit eebd75e

Please sign in to comment.