Closed shahidkarimi closed 5 years ago
How to scroll to bottom?
Hey @shahidkarimi @m6t9, Vuebar doesn't interfere with native scroll events. So you can just use native JS DOM scrolling events & methods.
In case of Vuebar - the inner wrapper element is a 'scrollable' element (child of element with v-bar
directive), so you can ref
it and then e.g. use scrollTop
to scroll to bottom: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTop
You can also check this SO answer: https://stackoverflow.com/a/33193668/3143704
How to scroll to bottom?