react-native-easy-toast icon indicating copy to clipboard operation
react-native-easy-toast copied to clipboard

Render after multiple calls to show seem unintentionally delayed

Open SimoneMSR opened this issue 6 years ago • 0 comments

When calling the show function after the toast has disappeared, the second/3rd/n-th toast is rendered with some unexpected delay

<Button 
  title="Press Me" 
  onPress={()=>{
      console.log("will present toast " + new Date());  
      this.refs.toast.show(""+new Date(),100) 
   }}>
</Button>

<Toast 
   ref="toast"
  position={'top'}
/>

SimoneMSR avatar Jan 31 '19 17:01 SimoneMSR