Quasar: 0.14Beta
OS: OSX
Node: 7.4.0
NPM: 5.3.0
Browsers: Electron
iOS: N/A
Android: N/A
Any other software related to your bug:
<q-scroll-area> doesn't respond to scrollArea.scrollTop = X
To be able to scroll inside a <q-scroll-area> with JS
using the following method:
methods: {
autoScroll () {
setInterval(() => {
this.scroll.position++
scrollArea.scrollTop = this.scroll.position
}, 5)
}
}
The interval worked, but no scrolling took place.
Added method:
| Method | Description |
| --- | --- |
| setScrollPosition(offset[, duration]) | Set scroll position to an offset. If a duration (in milliseconds) is specified then the scroll is animated. |
Most helpful comment
Added method:
| Method | Description |
| --- | --- |
|
setScrollPosition(offset[, duration])| Set scroll position to an offset. If a duration (in milliseconds) is specified then the scroll is animated. |