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

Feature request - Stackable Toast messages

Open gertvdkolk opened this issue 4 years ago • 5 comments

Hi!

First of all, thank you for making this component. It's very convenient. I just installed it and it works great out of the box.

What I noticed is that whenever I fire a second toast message, it reuses the original toast message. Is this correct? Can this perhaps made to be so that multiple messages can be shown? For example, like in this codepen: https://codepen.io/osublake/pen/YyLZKV

Thank you!

gertvdkolk avatar Jul 22 '20 07:07 gertvdkolk

@gertvdkolk Hi, glad you like it :)

The behavior I wanted to achieve was "hide the toast, then make it visible again with the new message". I wasn't really part of the plan to have stackable toast views, so from this point of view, it works as intended.

If you want to pick it up, we can discuss about developing this additional presentation mechanism.

calintamas avatar Aug 04 '20 08:08 calintamas

Yeah this would be great!

francisleigh avatar Dec 14 '20 17:12 francisleigh

I've already fixed it! https://github.com/calintamas/react-native-toast-message/pull/410

ivan-zeller avatar Oct 10 '22 12:10 ivan-zeller