fix: scroll content
This commit is contained in:
parent
e2072c9c85
commit
acbb8a265f
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Center, Heading, Image, Text, VStack } from "@gluestack-ui/themed";
|
||||
import { Center, Heading, Image, ScrollView, Text, VStack } from "@gluestack-ui/themed";
|
||||
|
||||
import BackgroundImg from '@assets/background.png';
|
||||
import Logo from '@assets/logo.svg';
|
||||
|
|
@ -7,6 +7,10 @@ import { Button } from "@components/Button";
|
|||
|
||||
export function SignIn() {
|
||||
return (
|
||||
<ScrollView
|
||||
contentContainerStyle={{ flexGrow: 1 }}
|
||||
showsVerticalScrollIndicator={false}
|
||||
>
|
||||
<VStack flex={1} bg="$gray700">
|
||||
<Image
|
||||
source={BackgroundImg}
|
||||
|
|
@ -66,5 +70,6 @@ export function SignIn() {
|
|||
</Center>
|
||||
</VStack>
|
||||
</VStack>
|
||||
</ScrollView>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue