MDBootstrap 5: Always Show Scrollbar in modal-dialog-scrolla


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

Coenie Janse van Rensburg pro premium priority asked 5 days 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 pro premium priority commented 5 days 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

Open

Specification of the issue
  • User: Pro
  • 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