You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
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.
The text was updated successfully, but these errors were encountered: