-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Toasts aren't working on iOS devices #10
Comments
same here... |
1 similar comment
same here... |
You need to add a width in the snackbarStyle. const common: ViewStyle = {
borderRadius: 3,
minWidth: 250,
}; |
@deeeed where did you write that code? |
if you remove your react-native-paper-toast and then use either of these yarn: npm: you will get the ability to add 3 new properties to the toast - snackbarStyle, messageStyle and messageContainerStyle I'm using 2 of the new properties and the 'minWidth' fixes the very thin green snackbar (no text visible) and the 'flexDirection: 'row'' fixes the stacked layout (Icon above the text - now it's inline) toaster.show({ type: type, message: message, snackbarStyle: { minWidth: 300 }, messageContainerStyle: { flex: 1, flexDirection: 'row' } }); |
Fixed in latest release. |
Toasts aren't working on iOS devices. It only shows a very small toast banner with no message inside. It works fine with Android.
The text was updated successfully, but these errors were encountered: