fix(tv): wrap actor page in scrollview to fix focus navigation between sections

This commit is contained in:
Fredrik Burmester
2026-01-20 22:15:00 +01:00
parent a8acdf4299
commit 506d8b14dc
7 changed files with 566 additions and 188 deletions

View File

@@ -20,6 +20,7 @@ import {
Easing,
FlatList,
Pressable,
ScrollView,
View,
} from "react-native";
import { useSafeAreaInsets } from "react-native-safe-area-context";
@@ -400,11 +401,14 @@ export const TVActorPage: React.FC<TVActorPageProps> = ({ personId }) => {
</View>
{/* Main content area */}
<View
<ScrollView
style={{
flex: 1,
}}
contentContainerStyle={{
paddingTop: insets.top + TOP_PADDING,
paddingHorizontal: insets.left + HORIZONTAL_PADDING,
paddingBottom: 60,
}}
>
{/* Top section - Actor image + Info */}
@@ -607,7 +611,7 @@ export const TVActorPage: React.FC<TVActorPageProps> = ({ personId }) => {
</Text>
)}
</View>
</View>
</ScrollView>
</View>
);
};