Fix voice picker scroll - add maxHeight and nestedScrollEnabled

ScrollView now properly scrolls through all 35+ voices

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sergei 2025-12-23 18:13:58 -08:00
parent 40646622b8
commit 1a829a120f

View File

@ -909,7 +909,12 @@ Based on this data, please answer the following question: ${question}`;
</TouchableOpacity>
</View>
<ScrollView style={styles.voiceList}>
<ScrollView
style={styles.voiceList}
nestedScrollEnabled={true}
showsVerticalScrollIndicator={true}
contentContainerStyle={{ paddingBottom: 20 }}
>
{/* English Voices Section */}
<Text style={styles.voiceSectionTitle}>English Voices</Text>
{AVAILABLE_VOICES.filter(v => v.language.startsWith('en-')).map(voice => (
@ -1390,6 +1395,7 @@ const styles = StyleSheet.create({
},
voiceList: {
flex: 1,
maxHeight: 400,
padding: Spacing.sm,
},
voiceSectionTitle: {