magicismight / react-native-root-toast

react native toast like component, pure javascript solution
MIT License
2.11k stars 404 forks source link

Implement Queue so Toast do not overlap #86

Open 8bitAlex opened 6 years ago

8bitAlex commented 6 years ago

Currently doing multiple Toast.show(...) will make them overlap each other. There should be a queue that manages how they are shown on the screen so as one fades out the next one can fade in without conflict.

geminiyellow commented 6 years ago

+1

BenjiFarquhar commented 5 years ago

+1

bluekurk commented 5 years ago

@8bitAlex it has "onHidden" callback so make a array as queue with pop()/unshift() seems not that hard...

gaurav341 commented 5 years ago

I have created an example for handling multiple toasts using the message queue. Gist link