fix: scroll content

This commit is contained in:
Vinicius Souza 2024-10-24 11:18:46 -03:00
parent e2072c9c85
commit acbb8a265f

View file

@ -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>
)
}