Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Modal windows at the same time

Wladi79 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!


Mateusz Lazaru 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

  • 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