Topic: MDBootstrap 5: Always Show Scrollbar in modal-dialog-scrollable Modal

Coenie Janse van Rensburg priority asked 2 weeks ago


Expected behavior When using a modal-dialog-scrollable modal in MDBootstrap 5, I want the vertical scrollbar to always be visible — even when not actively scrolling.

I tried overriding the styles with the following, but the scrollbar still disappears when not or stop scrolling:

.modal-dialog-scrollable .modal-content { max-height: 100%; overflow: scroll !important; }

.modal-dialog-scrollable .modal-body { overflow-y: scroll !important; }


Coenie Janse van Rensburg priority commented 2 weeks ago

never mind, i had to make my own modal with a custom scroll that is fixed.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 9.0.0
  • Device: mac
  • Browser: chrome
  • OS: mac
  • Provided sample code: No
  • Provided link: No