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

Implement Queue so Toast do not overlap

Open 8bitAlex opened this issue 6 years ago • 4 comments

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.

8bitAlex avatar Aug 19 '18 03:08 8bitAlex

+1

geminiyellow avatar Oct 24 '18 06:10 geminiyellow

+1

BenjiFarquhar avatar Apr 25 '19 01:04 BenjiFarquhar

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

bluekurk avatar May 21 '19 02:05 bluekurk

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

gaurav341 avatar Jul 19 '19 18:07 gaurav341