Topic: MDBToast stacking (add more toasts)
I'm using MDBToast in stacking format, it works good, when I add only one toast in time. But, when I try to insert more toasts at once, toasts are hidden immediately a elements is rerender too many times with warning:
Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 5.1.0
- Device: PC
- Browser: Chrome
- OS: Win10
- Provided sample code: No
- Provided link: No
Related topics
Grzegorz Bujański staff commented 2 years ago
We are working on it. We will fix it as soon as possible.