Topic: Modal Not Scrollable

sdhakad pro asked 5 years ago

Hi there, All the modals when open up are not scrollable on any screen size if the modal  height is big. Please help resolve this issue.

Klunker pro commented 5 years ago

I don't know if this helps but I made the modal and the modal-body a set size and added overflow to the body to make it scrollable: .modal-body { height: 700px; overflow-y: scroll; }

Damian Gemza staff answered 5 years ago

Hi guys, It's very easy to solve problem with scrolling modal. According to our documentation for modals: , you have to add
style="overflow: auto"
to element:
<div mdbModal>
And that's all. Best Regards, Damian  

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No