How to create a scrollable mini list?
Martin last edited by Martin
Has anyone already tried to build a scrollable list inside a quasar-layout?
Martin last edited by
cool, found it.
Quasar has a nice helper class “scroll” :-)
<div style="height:150px" class="list scroll"> <item v-for="item in ItemList">...</item> </div>
Aah, I like you are careful at details! The “scroll” CSS class only applies some CSS tweaks to make scrolling smooth on ALL platforms. But it doesn’t make the container scrollable. You have to add some additional CSS like
overflow-y: autobesides setting that
heightand it will work.
EDIT: I’m talking wrong.
overflowCSS to your container. So it should work as is!