Questions tagged [mcustomscrollbar]

mCustomScrollbar is a highly customizable custom scrollbar jQuery plugin.

Highly customizable custom scrollbar jQuery plugin. Features include vertical and/or horizontal scrollbar(s), adjustable scrolling momentum, mouse-wheel via jQuery mousewheel plugin, keyboard and touch support, ready-to-use themes and customization via CSS, RTL direction support, option parameters for full control of scrollbar functionality, methods for triggering actions like scroll-to, update, destroy etc., user-defined callbacks and more.

91 questions
3
votes
3 answers

HTML table with mcustomscrollbar and fixed column header

I have created a table with scrollbar in which header is fixed while scrolling y and header is scrolling while scrolling table x. Here is my code. $(function () { $('table').on('scroll', function () { $("table > *").width($("table").width() +…
Akshay Vaghasiya
  • 1,597
  • 9
  • 36
  • 60
3
votes
4 answers

jQuery Custom Content Scroller doesn't scroll to bottom

I use mCustomScrollbar for an element on a page, which gets reloaded at times. It's a messages view, and when the user clicks on another conversation, the messages of this conversation get loaded. However, when I want to scroll to bottom after…
linopolus
  • 93
  • 1
  • 1
  • 7
3
votes
2 answers

mCustomScrollbar - scrollbar only appearing on F12 press (dev tools / Firebug) and not on hidden elements/divs

Having a weird problem with mCustomScrollbar - Similar problem here: stubborn prolem with popular custom scrollbar The scrollbar doesn't show until you re-size the window or hit F12 (tested on both IE9 and FF - so Developer and Firebug). As soon as…
user-a5567ffg
  • 227
  • 1
  • 3
  • 13
2
votes
1 answer

TinyMCE editor prevents bubbling of scroll events

I'm using TinyMCE inside a container that has custom scrollbar (by mCustomScrollbar) but when I try to scroll over an editor, the scrolling stucks. Here is a fiddle demonstrating it (try to scroll it using a mouse wheel):…
andkorsh
  • 685
  • 7
  • 20
2
votes
1 answer

malihu-custom-scrollbar-plugin with vue dynamic contents outside the box

I am trying to use this jquery plugin with vue, I read its bad to include jquery with vue but I can't help it since client specifically demand to use this plugin... So i did this import jquery from "@/assets/js/jquery.js"; import malihu from…
pokken
  • 327
  • 1
  • 15
2
votes
1 answer

Angular Js infinite scroll with fixed header

I want to implement the Infinite scroll for tables with fixed header and also first column need to be fixed . I tried to implement the same using Angular JS Infinite scroll directive . I am able to achieve the Infinite scroll but am not able to fix…
2
votes
2 answers

How to stop a HTML element fading out using Javascript?

UPDATE I have a jsfiddle showing the issue here: http://jsfiddle.net/waf11s6u/1/ When you type a letter into the search bar, the custom scrollbar attached to the div disappears. The scrollbar may be getting faded out by the code that fades out…
Emily
  • 1,151
  • 4
  • 21
  • 42
2
votes
2 answers

Always getting mCS_no_scrollbar class when loading from ajax

I am using jquery CustomScrollbar plugin. Link http://manos.malihu.gr/jquery-custom-content-scroller/ I am loading my data through ajax. The code is as below $(window).load(function(){ $(".top-heading-section3").mCustomScrollbar({ …
Sameer Sheikh
  • 499
  • 1
  • 6
  • 16
2
votes
1 answer

Losing mCustomScrollbar effect when performing an ajax call

I'm using mCustomScrollbar to replace the default scrollbars in a div tag containing a table that I draw using javascript to help me reload it when performing ajax calls, here is my HTML code :
Zakaria Belghiti
  • 521
  • 3
  • 8
  • 19
2
votes
2 answers

Always show Scrollbar in mcustomscrollbar plugin

I'm currently using mcustomscrollbar which is a jquery free plugin. Is there a possible way that this plug in should always show the scrollbar?
bRaNdOn
  • 1,060
  • 4
  • 17
  • 37
1
vote
1 answer

How to add modules in test for imports-loader configuration

As I am converting legacy webapp to webpack based application, it uses mCustomScrollbar. As per documentation of mCustomScrollbar, to run with webpack need to use imports-loader. But syntax given in doc is compatible with older version of webpack,…
Sheel
  • 1,010
  • 1
  • 17
  • 30
1
vote
0 answers

jQuery.Deferred exception: e.indexOf is not a function after updating jquery.min.js to latest

I am using jQuery 1.12.0 and everything is working well. For optimization I have upgraded to jQuery 3.4.1 and now my slider is not working. It is giving me an error: jQuery.Deferred exception: e.indexOf is not a function…
mauzzamali
  • 73
  • 1
  • 8
1
vote
2 answers

Selenium: horizontal scroll using Actions class

I have tried various to access this custom scroll bar on my web page through Selenium actions as well as Javascript Executor. The scroll bar scrolls through only 500 pixels when in fact I want it to scroll throughout the complete width. Any help is…
1
vote
0 answers

Can a scrollbar plugin ever work in an iframe

I can't get mCustom jQuery scrollbar to work inside an iframe. But I'm flexible and if anyone knows any other scrollbar plugin that's reliable for iframes, I'll use it (I've tried all the popular ones already). I just need to make the default…
Silverburch
  • 457
  • 2
  • 12
  • 28
1
vote
0 answers

How to enable scroll on div when using malihu custom scrollbar

I am using Malihu custom scrollbar, it works properly on the full page but when I hover the mouse over a div which has list of images, it continues to scroll the page instead of div. I want to scroll div when the cursor is over this div. When I…