Topic: Toast behaviour
Roman Mzh priority asked 3 years ago
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.)
Krzysztof Wilk staff answered 3 years ago
Hi!
Thanks for reporting these issues. We'll look at them closer before the next release :)
Keep coding!
Roman Mzh priority answered 3 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 1.0.0-beta6
- Device: pc
- Browser: chrome
- OS: ubuntu
- Provided sample code: Yes
- Provided link: No