Topic: Modal dialog - hide modal before showing new modal
nick.kaynes priority asked 2 years ago
Hello I have a few modals to open on a page using the Non-invasive model to not block interaction.
Currently a new modal will overlap a previous modal.
Is there a way to automatically close any previous open modals before opening a new modal ?
So that the user only sees one modal open each time, improving the user experience.
So if user clicks progresively buttons modal1, modal2, model3 each modal will open but before opening the previous modal will automatically close.
Thank you in advance.
example snippet
https://mdbootstrap.com/snippets/standard/nick-kaynes/3937596
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 4.0.0
- Device: windows desktop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: Yes
Michał Duszak staff commented 2 years ago
Hello, unfortunately we don't provide a method to do this.