react-native-easy-toast
react-native-easy-toast copied to clipboard
A react native module to show toast like android, it works on iOS and Android.
renderErrorToast() { return ( ); }
- auto indent via prettier
When the position is set to 'bottom', should we use the position as bottom property ?
Warning: Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op. Please check the code...
with the example from the readme: this.refs.toast.show('Time was added successfully.'); I get this: ``` ExceptionsManager.js:71 Warning: Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but...
This PR fixes a warning that can be trigged if and when the component tries to call `setState` when no longer mounted. The fix involves maintaining a flag that is...
Hey guys, i stumbled on this problem even after confirming the import of the module in my project, Any way forward please?
Position remains fixed when the content is scrolled.  
When calling the show function after the toast has disappeared, the second/3rd/n-th toast is rendered with some unexpected delay ``` { console.log("will present toast " + new Date()); this.refs.toast.show(""+new Date(),100)...