Topic: Modal not closing anymore

MarcRohrer free asked 3 years ago


Expected behavior Clicking a button

class="btn-close" data-mdb-dismiss="modal"

should close the modal

Actual behavior

it does not. Only Escape does and calling the close() function.

I just updated to 3.10.1. It worked before the update :-(


Michał Duszak staff answered 3 years ago


Could you recreate your modal in a snippet so that I could look into your code and see why is this happening? Here's a snippet with a working example on 3.10.1: https://mdbootstrap.com/snippets/standard/m-duszak/3510292#html-tab-view


MarcRohrer free answered 3 years ago


It is the same with the X button!



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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No