Closed 23d1 closed 5 years ago
Is it possible to have another smooth applied to a div? One pretty big use-case is a cart modal or menu and so forth. When I initialize two different smooth objects it just adds another .vs-scroll-view to the body...
Sure! You can pass in an option listener, which defaults is document.body. Let me know if that works!
listener
document.body
Is it possible to have another smooth applied to a div? One pretty big use-case is a cart modal or menu and so forth. When I initialize two different smooth objects it just adds another .vs-scroll-view to the body...