angular-slimscroll
angular-slimscroll copied to clipboard
double scrollbar added
Hey man,
I noticed there are two scrollbars being initiated. I am using the scrollbar inside a div with an ng-if directive
Any ideas what might be going wrong?
Hi @silentFred, could you please create a demo on http://jsfiddle.net/ to explain the problem?
Hi, I noticed a double scrollbar too. Something like this : http://plnkr.co/edit/hB1tGWFQNZvJoaLlEIs0?p=preview ?
thanks @emmanuelballery, I have fixed this issue.
@ziscloud getting a 'refresh' is not defined after the 1.1.4 update =/
thanks for you update, I found the this issut is caused by slimscroll itself. line 103 and 104: bar = me.closest('.' + o.barClass); rail = me.closest('.' + o.railClass); it can not find object, it should be: bar = me.parent().find('.' + o.barClass); rail = me.parent().find('.' + o.railClass);
I will raise a merge request to slimscroll.
Thanks @ziscloud! =)