Topic: data-mdb-perfect-scrollbar and modal

pawled free asked 3 years 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?


pawled free answered 3 years 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 3 years 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


Grzegorz Bujański staff answered 3 years ago


Grzegorz Bujański staff answered 3 years 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 free commented 3 years ago

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



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 Standard
  • MDB Version: MDB5 3.9.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No