Open Saliheen opened 6 months ago
What is the error?
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.
Now ScrollView works but opening keyboard closes modal
import ActionSheet, {ScrollView} from 'react-native-actions-sheet';
importing ScrollView from 'react-native-actions-sheet' crashes app.