react-toastify icon indicating copy to clipboard operation
react-toastify copied to clipboard

Feature request: increase Limit of active container (Think of a "show more button)

Open SaniMusic opened this issue 3 years ago • 2 comments

Feature request

Awesome tool! Just one scenario I can't see how to implement (maybe I'm missing something from the API)

If you increase the limit of the ToastContainer it will not process the current queue into the container. I basically need a "show more button".

So something like the function

toast.clearWaitingQueue()

But more like

toast.processWaitingQueue()

Could we dynamically add the Toasts in the queue to the active state when the Limit is increased?

Using React 18 with the latest react-toastify.

Is this a sensible feature request?

Thanks in advance!

SaniMusic avatar Sep 02 '22 14:09 SaniMusic

@fkhadra any thoughts on this?

SaniMusic avatar Nov 11 '22 14:11 SaniMusic

This is indeed a feature request. I believe some changes are required to the lib to introduce this kind of api

fkhadra avatar Mar 10 '23 03:03 fkhadra