jQuery-slimScroll icon indicating copy to clipboard operation
jQuery-slimScroll copied to clipboard

Destroy - Can actually create a slimScroller

Open robly opened this issue 13 years ago • 2 comments

You should place a check at line 152 in-case 'destroy' is passed in as an option so that it will not accidentally create a new slimScroller if one does not already exist.

Example: If you call slimScroll({destroy: true}); 2x it will create the scroller using the default values.

There might be a better place to put it, but that seems reasonable to me glancing at it.

robly avatar Aug 16 '13 06:08 robly

I'll second that. I wanted to use slimscroll on a responsive mobile solution for a client, but when going back to above the cutoff point of 1024px it was still showing alongside the desktop scrollbar. The desktop scrollbar was essential to an application used on the desktop view and had to find an alternative unfortunately.

etetlow avatar Oct 27 '13 19:10 etetlow

its not solved yet

abhishekyadav9590 avatar Jul 08 '21 10:07 abhishekyadav9590