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:
parent
40646622b8
commit
1a829a120f
@ -909,7 +909,12 @@ Based on this data, please answer the following question: ${question}`;
|
|||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<ScrollView style={styles.voiceList}>
|
<ScrollView
|
||||||
|
style={styles.voiceList}
|
||||||
|
nestedScrollEnabled={true}
|
||||||
|
showsVerticalScrollIndicator={true}
|
||||||
|
contentContainerStyle={{ paddingBottom: 20 }}
|
||||||
|
>
|
||||||
{/* English Voices Section */}
|
{/* English Voices Section */}
|
||||||
<Text style={styles.voiceSectionTitle}>English Voices</Text>
|
<Text style={styles.voiceSectionTitle}>English Voices</Text>
|
||||||
{AVAILABLE_VOICES.filter(v => v.language.startsWith('en-')).map(voice => (
|
{AVAILABLE_VOICES.filter(v => v.language.startsWith('en-')).map(voice => (
|
||||||
@ -1390,6 +1395,7 @@ const styles = StyleSheet.create({
|
|||||||
},
|
},
|
||||||
voiceList: {
|
voiceList: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
|
maxHeight: 400,
|
||||||
padding: Spacing.sm,
|
padding: Spacing.sm,
|
||||||
},
|
},
|
||||||
voiceSectionTitle: {
|
voiceSectionTitle: {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user