Topic: Modal windows at the same time
Wladi79 priority asked 1 year ago
I have two modal windows. In one of them there is a button that opens the next modal window. But the problem is that the previous modal window closes.
How to make so that the first modal window does not close when the second modal window is opened?
I found this solution, but in the latest version of the bootstrap it no longer works. https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/2870948
I need help with this. Thank you!
Mateusz Lazaru staff answered 1 year ago
This cannot work since bootstrap has caused a modal close when another modal is opened.
You can create modal only inside our non-invasible modal, but backdrop will not be applied and scroll will not be blocked.
Example: https://mdbootstrap.com/snippets/standard/mlazaru/4105882
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 Standard
- MDB Version: MDB5 4.2.0
- Device: acer
- Browser: chrome
- OS: windows 10
- Provided sample code: No
- Provided link: Yes
Youtuber Pro free commented 19 hours ago
Simultaneous display of modal windows can confuse users and disrupt the user experience. It's best to avoid displaying multiple modal windows simultaneously to maintain clarity and usability. http://mcdonaldsmenuph.com/