Questions tagged [perfect-scrollbar]

perfect-scrollbar is a lightweight jQuery plugin that allows you to beautify the default scroll bars without changing or adding any style on original elements.

92 questions
0
votes
1 answer

Installing Perfect-Scrollbar

I am trying to install this plugin. I am following this code. But my output is like below. Why it displaying like this ?
abu abu
  • 6,599
  • 19
  • 74
  • 131
0
votes
1 answer

Angular 2 peer Dependencies requirements

I have an Angular 2 application and I am trying to use angular2-perfect-scrollbar. But I am getting peer dependencies error. I googled and tried to downgrade rxjs but still doesnot works. My package.json file looks like: "license": "", …
Manish Gautam
  • 516
  • 2
  • 7
  • 19
0
votes
1 answer

Perfect scrollbar inside of Select2. Container height bug

I'm trying to integrate Perfect scrollbar plugin with Select2. The scrollbar go to far while scrolling down. It seems PS is incorrectly calculating height of select2 options container. Can somebody help with this? Here is a simple html…
Danny Matkovsky
  • 662
  • 4
  • 14
0
votes
1 answer

Apply Perfect-Scrollbar to all elements

I used perfec-scrollbar and works fine like this Ps.initialize(east, { wheelSpeed: 2 }); and now i want change all scroll-bars to perfect-scrollbar, how can i do that? something like : Ps.initialize("*", { wheelSpeed: 2 }); But this…
armin momeni
  • 181
  • 2
  • 10
0
votes
1 answer

Can we apply SlimScroll or PerfectScrollbar plugin to jQuery Datatable default vertical scroll

I am using Datatable ver 1.10, I enable the vertical scrolling. now datatable showing window default scroll style. Is it possible to change/implement some other scrollBar on datatable scrollbar? to make it more beautiful and fancy. I tried this…
Qazi
  • 5,015
  • 8
  • 42
  • 62
0
votes
0 answers

how to disable tap in perfect scrollbar.js

When I first-click on content using perfect scollbar it render me to top of content and rest of time it is not responding. I want to disable that click event and tap shouldn't work on it.
0
votes
1 answer

Perfect-scrollbar: element.getAttribute is not a function

I'm trying to use the perfect-scrollbar plugin on AngularJS website, but I get the error: TypeError: element.getAttribute is not a function at getId (http://localhost/Myproject/js/lib/perfect-scrollbar.jquery.js:1299:20) at Object.exports.get …
0
votes
1 answer

Fancy scroll-bar (any directive based) is not working inside ng-view

I want to apply a fancy scroll bar on a paragraph which is inside the ng-view. My module code is var myweb = angular.module('myweb' , ['ngRoute', 'perfect_scrollbar']); myweb.config(function($routeProvider, $locationProvider) { …
Ammar Hayder Khan
  • 1,287
  • 4
  • 22
  • 49
0
votes
1 answer

Scrollbar plugin works in jsfiddle but malfunctions within actual application

I am implementing a comment box and using the perfect-scrollbar plugin in order to implement the scrolling functionality. Whenever I load my page, which is built using angular I have dummy comment text that populates the inside of the comment box.…
Alan
  • 1,134
  • 2
  • 13
  • 25
0
votes
1 answer

Perfect-scrollbar doesn't apply correctly to a jQuery ui selectmenu

I am trying to add perfect-scrollbar plugin (which give a beautiful scrollbar instead of the browser default scrollbar) to a jQuery UI selectmenu This is the JSFIDDLE When I open the selectmenu the scrollbar doesn't show up (even if I hover the…
medBouzid
  • 7,484
  • 10
  • 56
  • 86
0
votes
2 answers

Inserting a div element inside of an iframe

I am trying to insert a div element inside of a iframe to which I would like to eventually apply a perfect scrollbar. As of now I have been able to insert the iframe inside div and apply perfect scrollbar to it. Any ideas? My code is as…
user5640942
  • 11
  • 1
  • 4
0
votes
3 answers

$(window).load(function() not always working

I'm trying to implement a scrollbar plugin on a div on my website but I'm facing a few issues with it. first of all it was supposed to be working like this: jQuery(document).ready(function ($) { "use strict"; …
Chun
  • 2,230
  • 5
  • 24
  • 46
0
votes
3 answers

"perfect-scrollbar" (jQuery plugin) isn't initialised properly when a its container is being filled with Angular.js

On my page I programmatically generate a food/drinks menus from a json file with Angular.js. The problem is with the "perfect-scrollbar" used for scrolling the angular-generated content, which appears to require a scroll-wheel event to initialise on…
Jared Tomaszewski
  • 793
  • 4
  • 17
  • 31
0
votes
2 answers

"perfect scrollbar" use on iframe

I was searching for a cross-browser solution of customizing a scrollbar of my iframe. I am not very advanced with javascript, so I was looking for a css solution. I found css solution for webkit browsers, but that worked only in opera, chrome, but…
user2886091
  • 725
  • 7
  • 16
  • 29
0
votes
1 answer

perfect scrollbar set maxScrollbarLength

I used this plugin https://github.com/noraesae/perfect-scrollbar and there is minScrollbarLength but I wana set maxScrollbarLength but I low in programing and i dont know where i can change this option so I ask for help. my code in index …
Khal
  • 33
  • 1
  • 7