Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/app/(auth)/sign-in.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React, { useEffect, useRef, useState } from "react";
import {
ActivityIndicator,
Animated,
KeyboardAvoidingView,
Platform,
Pressable,
StyleSheet,
TextInput,
Expand Down Expand Up @@ -66,6 +68,10 @@ export default function SignInScreen() {
style={[styles.screen, { backgroundColor: colors.background }]}
edges={[]}
>
<KeyboardAvoidingView
style={styles.screen}
behavior={Platform.OS === "ios" ? "padding" : undefined}
>
<Animated.View
style={[
styles.content,
Expand Down Expand Up @@ -154,6 +160,7 @@ export default function SignInScreen() {
</View>
</View>
</Animated.View>
</KeyboardAvoidingView>
</SafeAreaView>
);
}
Expand Down
7 changes: 7 additions & 0 deletions frontend/app/(auth)/sign-up.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React, { useEffect, useRef, useState } from "react";
import {
ActivityIndicator,
Animated,
KeyboardAvoidingView,
Platform,
Pressable,
StyleSheet,
TextInput,
Expand Down Expand Up @@ -70,6 +72,10 @@ export default function SignUpScreen() {
style={[styles.screen, { backgroundColor: colors.background }]}
edges={[]}
>
<KeyboardAvoidingView
style={styles.screen}
behavior={Platform.OS === "ios" ? "padding" : undefined}
>
<Animated.View
style={[
styles.content,
Expand Down Expand Up @@ -158,6 +164,7 @@ export default function SignUpScreen() {
</View>
</View>
</Animated.View>
</KeyboardAvoidingView>
</SafeAreaView>
);
}
Expand Down
7 changes: 7 additions & 0 deletions frontend/app/(tabs)/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
Animated,
InteractionManager,
Keyboard,
KeyboardAvoidingView,
Platform,
Pressable,
RefreshControl,
ScrollView,
Expand Down Expand Up @@ -527,6 +529,10 @@ export default function ExploreScreen() {
<View style={[styles.screen, { backgroundColor: colors.background }]}>
<View style={styles.background} pointerEvents="none" />
<SafeAreaView style={styles.safeArea} edges={["top"]}>
<KeyboardAvoidingView
style={styles.safeArea}
behavior={Platform.OS === "ios" ? "padding" : undefined}
>
<TouchableWithoutFeedback onPress={Keyboard.dismiss}>
<Animated.ScrollView
ref={scrollRef}
Expand Down Expand Up @@ -955,6 +961,7 @@ export default function ExploreScreen() {
) : null}
</Animated.ScrollView>
</TouchableWithoutFeedback>
</KeyboardAvoidingView>
</SafeAreaView>
<TopBlur scrollY={scrollY} />
<FloatingScrollTopButton
Expand Down
7 changes: 7 additions & 0 deletions frontend/app/manage-streams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React, { useCallback, useEffect, useRef, useState } from "react";
import {
Alert,
Animated,
KeyboardAvoidingView,
Platform,
Pressable,
RefreshControl,
ScrollView,
Expand Down Expand Up @@ -215,6 +217,10 @@ export default function ManageStreamsScreen() {
return (
<View style={[styles.screen, { backgroundColor: colors.background }]}>
<SafeAreaView style={styles.safeArea} edges={["top"]}>
<KeyboardAvoidingView
style={styles.screen}
behavior={Platform.OS === "ios" ? "padding" : undefined}
>
<Animated.ScrollView
ref={scrollRef}
contentInsetAdjustmentBehavior="never"
Expand Down Expand Up @@ -461,6 +467,7 @@ export default function ManageStreamsScreen() {
</View>
)}
</Animated.ScrollView>
</KeyboardAvoidingView>
</SafeAreaView>
<TopBlur scrollY={scrollY} />
<FloatingScrollTopButton
Expand Down
7 changes: 7 additions & 0 deletions frontend/features/settings/shared.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React, { useEffect, useRef } from "react";
import {
Animated,
KeyboardAvoidingView,
Platform,
Pressable,
ScrollView,
StyleSheet,
Expand Down Expand Up @@ -60,6 +62,10 @@ export function SettingsPageShell({
return (
<View style={[styles.screen, { backgroundColor: colors.background }]}>
<SafeAreaView style={styles.screen} edges={["top"]}>
<KeyboardAvoidingView
style={styles.screen}
behavior={Platform.OS === "ios" ? "padding" : undefined}
>
<Animated.ScrollView
ref={scrollRef}
onScroll={onScroll}
Expand Down Expand Up @@ -113,6 +119,7 @@ export function SettingsPageShell({
<View style={styles.body}>{children}</View>
</Animated.View>
</Animated.ScrollView>
</KeyboardAvoidingView>
</SafeAreaView>
<TopBlur scrollY={scrollY} />
<FloatingScrollTopButton
Expand Down
Loading