Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how scroll bottom simplebar in vue js

@sotirislp I had the same problem and figured out it can bo solved using direct reference to content wrapper (element.SimpleBar and element.getScrollElement() didn't work for me -> undefined properties/function).

var container = document.querySelector('#my-element .simplebar-content-wrapper'); container.scrollTo({ top: 500, behavior: "smooth" });
Source by github.com #
 
PREVIOUS NEXT
Tagged: #scroll #bottom #simplebar #vue #js
ADD COMMENT
Topic
Name
3+8 =