malihu / malihu-custom-scrollbar-plugin

Highly customizable custom scrollbar jQuery plugin, featuring vertical/horizontal scrollbars, scrolling momentum, mouse-wheel, keyboard and touch support etc.
http://manos.malihu.gr/jquery-custom-content-scroller
MIT License
4.11k stars 1.5k forks source link

Dynamically loaded content #562

Open alxkos opened 7 years ago

alxkos commented 7 years ago

Please advice for a best practice of dynamic content. Window loaded and then via ajax content loaded and changed. I found that quite a lot people trying to use such logic, so could you please help here?

Thanks

alxkos commented 7 years ago

as I have found for now, the problem is that update selector was destroyed plugin cannot "catch" selector again.

HW8800 commented 5 years ago

destroy the srollbar first, and then create the scrollbar again