Topic: Modal Not Scrollable
sdhakad pro asked 7 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.
Damian Gemza staff answered 7 years ago
Hi guys,
It's very easy to solve problem with scrolling modal. According to our documentation for modals: https://mdbootstrap.com/angular/advanced/modals/ , you have to add
style="overflow: auto"to element:
<div mdbModal>And that's all. Best Regards, Damian
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags
Klunker pro commented 7 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; }