jquerycssslimscroll

Slimscroll with sortable makes sortable contents hide when dragged to ather containers


How to Restrict slimscroll to scroll in y-axis only?

I found answer in stackoverflow question.

It says no. Is there any other fix for it?

The problem is it appends overflow hidden to the div... It makes my sortable divs bad. While moving one sortable element from one container to other it is hidden.


Solution

  •     $('.scrollable-content').slimScroll({
            height: '90vh'
        });
    

    Then for fix I added this

        $('.slimScrollDiv').css('overflow', '');
    

    where .slimScrollDiv is the class produced by slimscroll. Now its working fine.