Open in0vik opened 2 months ago
It shouldn't act this way but i think you don't need newestOnTop
since there will be only one visible with stacked
set to true
unless you're dynamically changing stacked
, in that case that's your situation a simple workaround for this bug is to make sure when an option is true the other is not.
<ToastContainer stacked={useStacked} newestOnTop={!useStacked} />
When using React-Toastify with both
stacked
andnewestOnTop
options enabled, the notification stack behaves inconsistently, with notifications appearing to jump or reorder unpredictably.