Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import ActionSheet, {ScrollView} from 'react-native-actions-sheet';
importing ScrollView from 'react-native-actions-sheet' crashes app.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: