modal (open) (close) not closed from module

web
mobile

Topic: modal (open) (close) not closed from module

itay pro asked 3 months ago

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


Arkadiusz Idzikowski staff commented 3 months 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.


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: Angular
  • MDB Version: 9.1.0
  • Device: NA
  • Browser: NA
  • OS: NA
  • Provided sample code: No
  • Provided link: Yes
Tags