Position fixed

This commit is contained in:
Dan Abramov
2024-04-27 03:33:18 +01:00
parent bc00fb2345
commit 9c721c952b
+10 -1
View File
@@ -724,7 +724,16 @@ export function SearchScreen(
<Loader /> <Loader />
) : ( ) : (
<ScrollView <ScrollView
style={{height: '100%'}} style={
isWeb
? {
height: '100%',
width: '100%',
paddingTop: 50,
position: 'fixed',
}
: {height: '100%'}
}
// @ts-ignore web only -prf // @ts-ignore web only -prf
dataSet={{stableGutters: '1'}} dataSet={{stableGutters: '1'}}
keyboardShouldPersistTaps="handled" keyboardShouldPersistTaps="handled"