Topic: Modal not closing anymore
MarcRohrer 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 :-(
MarcRohrer answered 3 years ago
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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: 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