ammarahm-ed / react-native-actions-sheet

A Cross Platform(Android, iOS & Web) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
https://rnas.vercel.app
MIT License
1.49k stars 121 forks source link

ScrollView crashes app #352

Open Saliheen opened 6 months ago

Saliheen commented 6 months ago

import ActionSheet, {ScrollView} from 'react-native-actions-sheet';

importing ScrollView from 'react-native-actions-sheet' crashes app.

jonxssc commented 6 months ago

What is the error?

AyoCodess commented 5 months ago

What is the error?

ERROR Invariant Violation: ScrollView child layout (["justifyContent"]) must be applied through the contentContainerStyle prop.

Solution: remove all props from scrollview, in my case, i had the className prop on my scrollview as i use tailwind.

Saliheen commented 4 months ago

Now ScrollView works but opening keyboard closes modal