vonovak / react-native-simple-toast

Cross-platform Toast experience for React Native
MIT License
288 stars 31 forks source link

Need a method to forcibly dismiss Toast #3

Open serjek opened 4 years ago

serjek commented 4 years ago

Once toast with long duration is displayed it might be useful to remove it prematurely (e.g if user did some action that makes this toast irrelevant)

silencer07 commented 3 years ago

I need this as well. on android at least when you call the native toast, it returns you an object which you can call to cancel the toast. perhaps instead of show returning void, we return a ref that we can call cancel?

vonovak commented 3 years ago

hello, if someone implements this in a PR, I will merge it

I can also be hired to do this

juliomaqueda commented 2 years ago

Any update on this request?

ramssutharr commented 1 year ago

+1