Modal windows at the same time


Topic: Modal windows at the same time

Wladi79 pro premium priority asked 2 years 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!


mlazaru staff answered 2 years 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


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • 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