data-mdb-perfect-scrollbar and modal


Topic: data-mdb-perfect-scrollbar and modal

pawled asked 2 months ago

<div class="modal-body" data-mdb-perfect-scrollbar="true">

I have added data-mdb-perfect-scrollbar to modal div but it has still the same default scrollbar. What's wrong in this case?


Grzegorz Bujański staff answered 2 months ago

Unfortunately, I am unable to reproduce this error. Take a look at this snippet: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/3295601 Perfect Scrollbar added correctly here


pawled commented 2 months ago

Is it possible to set Perfect Scrollbar as default browser scrollbar?


pawled answered 2 months ago

I added this scrollbar to my modal and it is inactive to the moment I use mouse scroll. Then appears and works properly. Really weird.


Grzegorz Bujański staff commented 2 months ago

Check out this snippet: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/3303924#js-tab-view. Here the scroll will appear immediately after you hover over the modal body


Please insert min. 20 characters.
Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No
Tags