Skip to content

Commit

Permalink
fix: scrollTo pushes header out of scrollable view
Browse files Browse the repository at this point in the history
  • Loading branch information
L03TJ3 committed Oct 29, 2024
1 parent a64c771 commit 5708207
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/app/src/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const styles = StyleSheet.create({
paddingHorizontal: 64,
paddingTop: 12,
paddingBottom: 90,
height: '100vh',
// @ts-ignore
overflowY: Platform.select({
native: 'scroll',
Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/pages/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const HomePage = () => {
{!totalStats ? (
<Spinner variant="page-loader" size="lg" />
) : (
<ScrollView>
<ScrollView nestedScrollEnabled={true}>
<VStack {...homeContainerStyles} space={4}>
<VStack space={8}>
<VStack space={2}>
Expand Down

0 comments on commit 5708207

Please sign in to comment.