n2ctech / goodnoob-new

0 stars 0 forks source link

fix left filters scroll #199

Closed ngocthoaia1 closed 7 years ago

ngocthoaia1 commented 7 years ago

https://github.com/n2ctech/goodnoob-new/issues/154

ngocthoaia1 commented 7 years ago

screenshot from 2017-10-28 23-29-17

@n2ctech I see you added this code

    // Adding a custom scrollbar for filtering
    var container = $('.filter-group-contents');
    $(container).perfectScrollbar({
        wheelSpeed: .1,
        wheelPropagation: true,
        minScrollbarLength: 20,
        scrollYMarginOffset: 150,
        maxScrollbarLength: 80
    });

What is purpose of this code? It make mobile can't scroll on filters well. When I remove this code, mobile left filters work well and I see on destop/laptop browser work well too.

n2ctech commented 7 years ago

ok perfect @ngocthoaia1