Append the modal to my body


Topic: Append the modal to my body

Jaymie Jeffrey asked 5 years ago

Expected behavior To be able to append the modal to the body

Actual behavior There appears to be no options to append to the body, so it is getting embedded within my app. It appends mdb-modal-backdrop, but that has no content which is strange....

Resources (screenshots, code snippets etc.) https://i.imgur.com/V4YsBh6.png


Arkadiusz Idzikowski staff answered 5 years ago

Please use the 'dynamic' version of the modal, that should resolve the problem:

https://mdbootstrap.com/docs/angular/modals/basic/#dynamic


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
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.3.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes
Tags