Skip to content

Commit

Permalink
fix(expo-web): fixed issue when using yarn (#2257)
Browse files Browse the repository at this point in the history
* fix(expo-web): fixed issue when using yarn

* fix(showroom): support for RNW scrolling
  • Loading branch information
frankcalise committed Oct 25, 2022
1 parent 81ddf68 commit 564cae3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Expand Up @@ -120,7 +120,11 @@ export const DemoShowroomScreen: FC<DemoTabScreenProps<"DemoShowroom">> =
</SafeAreaView>
)}
>
<Screen preset="fixed" safeAreaEdges={["top", "bottom"]}>
<Screen
preset="fixed"
safeAreaEdges={["top", "bottom"]}
contentContainerStyle={$screenContainer}
>
<DrawerIconButton onPress={toggleDrawer} {...{ open, progress }} />

<SectionList
Expand Down Expand Up @@ -152,6 +156,10 @@ export const DemoShowroomScreen: FC<DemoTabScreenProps<"DemoShowroom">> =
)
}

const $screenContainer: ViewStyle = {
flex: 1,
}

const $drawer: ViewStyle = {
flex: 1,
}
Expand Down
3 changes: 2 additions & 1 deletion boilerplate/package.json
Expand Up @@ -121,7 +121,8 @@
"regenerator-runtime": "^0.13.4",
"ts-jest": "26",
"typescript": "4.7.3",
"webpack": "4"
"webpack": "4",
"webpack-dev-server": "^3"
},
"resolutions": {
"@types/react": "^17",
Expand Down

0 comments on commit 564cae3

Please sign in to comment.