fix(mobile): allow scroll in login page (#3126)

This commit is contained in:
Stephen Zhou 2025-03-14 16:57:40 +08:00 committed by GitHub
parent ed49c788c7
commit 0dc73f1e29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import { KeyboardController } from "react-native-keyboard-controller"
import Animated, { useAnimatedStyle, useSharedValue } from "react-native-reanimated"
import * as ContextMenu from "zeego/context-menu"
import { SafeNavigationScrollView } from "@/src/components/layouts/views/SafeNavigationScrollView"
import { Logo } from "@/src/components/ui/logo"
import { TermsMarkdown } from "@/src/screens/(headless)/terms"
@ -13,7 +14,7 @@ import { SocialLogin } from "./social"
export function Login() {
return (
<View className="p-safe flex-1">
<SafeNavigationScrollView>
<TouchableWithoutFeedback
onPress={() => {
KeyboardController.dismiss()
@ -38,7 +39,7 @@ export function Login() {
<SocialLogin />
</View>
<TermsCheckBox />
</View>
</SafeNavigationScrollView>
)
}