Toast is displayed forever, not hiding after visibilityTime expire...
import { FALLBACK_ERROR_MESSAGE } from "@/constants" import { hono } from "@/lib/hono" import { useMutation } from "@tanstack/react-query" import { Link } from "expo-router" import { Pressable, ScrollView, Text } from "react-native" import { SafeAreaView } from "react-native-safe-area-context" import Toast from "react-native-toast-message"
const GetStartedScreen = () => { const getArticlesMutation = useMutation({ ... onError: (error) => Toast.show({ type: "error", text1: "Error", text2: error.message || FALLBACK_ERROR_MESSAGE, autoHide: true, visibilityTime: 3000, position: "top", avoidKeyboard: true, swipeable: true, }), ... })
return ( ... ) }
export default GetStartedScreen
Well its working for me that it is displaying toast on error but as you can see i have autoHide and visibilityTime set it is not hiding...
I'm having the same issue after upgrading from react-native 0.79.5 to 0.81.4
same here
i have same issue also
same issue
same here
Same here
Same here, possibly related to https://github.com/calintamas/react-native-toast-message/issues/583
same here
Same here, expo SDK version 53 works fine for me.
Same here with SDK 54
Same issue, expo SDK version 53 works fine for me.
Same here with SDK 54
Same issue for me
Same issue for me
is there any update on this?
Same issue for me in
"react-native": "0.81.4" "react-native-toast-message": "^2.3.3"
Same issue,
expo 54 "react-native": "0.81.5", "react-native-toast-message": "^2.3.3",
Any updates on this? Definitely just an expo 54 issue.
Any update on this?
Any update on this?
To avoid trying to fix this, making a fork, etc. I just changed to https://github.com/gunnartorfis/sonner-native#readme, and works good for me