q-scroll-area dosen't work for horizontal
-
It seems to be enhanced on v0.17.0. (https://github.com/quasarframework/quasar/issues/2163)
But the document didnt update. (https://quasar-framework.org/components/scroll-area.html)
Still not sure how to use it.
Is all i need to do is add width on q-scroll-area tag? -
@zouyaoji
the thumb only exist for right and left, you can scroll horizontally if you override the css:.overflow-hidden { overflow-x: scroll !important; overflow-y: hidden !important; }
you can listen for x and y scrolling using the
v-scroll
directive give it a handler like thisv-scroll="scroll"
, then you can get the positions at methodsscroll (y, x)
. I guess you can file a request for feature to add a thumb that can maybe shown on top or bottom of the scroll-area for a custom horizontal scrolling.