The problem here is that version.
Version 3.7.6 didn’t work well with mobile, you need to download a 3.7.4 version.
download link: https://cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.4/jquery.nicescroll.min.js
What is jQuery niceScroll?
jQuery niceScroll use for custom scrollbars on mobile and desktop browsers. It gives your page a beautiful with nice scroll. If you want to set jQuery Plugin for custom scrollbars on mobile and desktop browsers then follow this code.
Add this library:
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery.nicescroll/3.7.4/jquery.nicescroll.min.js"></script>
Put these code below of the page:
<script type="text/javascript"> $("html").niceScroll({ zindex: "9999", cursorcolor: "#d4040a", cursorborder: "1px solid #d4040a" }); </script>
Question and answer is powered by AnsPress.io