Topic: Toast not visible in navtab
I expect the toast to be visible within the tab
Depending where i attach the toast, it sometimes is visible in the first tab but never in other tabs.
I'm happy to provide a URL to my project for support to look at.
Denre pro premium priority answered 3 years ago
I have three tabs
Tab1: form where after submit the server response is shown in a toast.
Tab2: a Datatable with buttons. On row delete it should check with the server and show the results in a toast. This toast is triggered, but never visible. However when quickly switching between tabs, i noticed it faiding in Tab1.
Tab3: under development.
I'm happy to email you a link to my test page.
Denre pro premium priority answered 3 years ago
I solved it by attaching the toast to the shared parent. Since the section can be long I used position bottom to be sure it is visible when hitting submit.
Dawid Wajszczuk staff commented 3 years ago
Hi. Did you solve all your problems with this topic? Or is there something with what you steal need help?
Vamshi Choula answered 3 years ago
Sir please respond me. i have fast answer. actually it is important to complete kmow..
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 Standard
- MDB Version: MDB5 3.9.0
- Device: laptop
- Browser: FireFox
- OS: windows 10
- Provided sample code: No
- Provided link: No
Dawid Wajszczuk staff commented 3 years ago
Hi. It would be better for us to have a snippet with code that you have used for the tabs and toasts. And if I am correct, you would like to display toast when you switch to specific tab, right? Or do you think about different behavior?