Topic: modal (open) (close) not closed from module
Expected behavior
(open) (close) events should be called on modal open & close
https://mdbootstrap.com/docs/angular/modals/events/
Actual behavior
While in one module (open) and (close) are called, in another module they are not (although everything else work: modal opens, closes, and everything else is displayed appropriately)
What am I missing ?
Thank
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.1.0
- Device: NA
- Browser: NA
- OS: NA
- Provided sample code: No
- Provided link: Yes
Arkadiusz Idzikowski staff commented 5 years ago
Can you explain what you mean when you say that it works in one module but not in another? Are there 2 seperate modals and 2 seperate modules? I'm not sure how your app structure works and we need more details to reproduce this problem.
You may want to take a look at dynamic modal documentation: https://mdbootstrap.com/docs/angular/modals/basic/#dynamic
It allow to easily open/close modals from every place in your app.