Topic: Toast behaviour
Expected behavior
A Provider
and useToast
hook that returns show
In a provider expired toasts should be automatically deleted from state and dom.
Actual behavior
toasts garbage
Resources (screenshots, code snippets etc.)
Roman Mzh pro premium priority answered 4 years ago
also:
- not possible to get rid of header => empty
headerContent
should call toast same as it was in mdb 4 whiteCloseBtn
prop does not work- colored toast needs header and body to have
text-white
classes => toast shoul automatically set text color depending on bg color
Krzysztof Wilk staff answered 4 years ago
Hi!
Thanks for reporting these issues. We'll look at them closer before the next release :)
Keep coding!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 1.0.0-beta6
- Device: pc
- Browser: chrome
- OS: ubuntu
- Provided sample code: No
- Provided link: No