Topic: Why do I have to add .modal-open class to get a modal scrolling

Jan free asked 5 years ago


Hello there. As we bought mdbootstrap pro for angular and jquery we encountered a problem with full height (fluid) side modals. As we add long content to it, we cant scroll inside the modal and we cant reach the whole content. So we looked at your example, were we could scroll. So i fount out, that there is a container with .modal-open class, which adds and overflow: auto the the .modal class inside. We have now decided to add this to our whole container div. But still wondering why this is neccessary, could this lead to any failures or what is the best practice?   Thank you in advance.

Marta Wierzbicka staff answered 5 years ago


Hi, we will improve our full height modals soon. For now, you may need a workaround as you said. Best, Marta

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 jQuery
  • MDB Version: 4.5.10
  • Device: *
  • Browser: Chrome
  • OS: Linux
  • Provided sample code: No
  • Provided link: No