Topic: Append the modal to my body

Jaymie Jeffrey free asked 4 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 4 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

  • ForumUser: 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