How to scroll (add scrollbar) when using collection-repeat and no list items


#1

Hi there,

I have tried everything, but I can’t get it to work. I have a button in my <ion-content> and divs, headers etcetera…

What I want, is to scroll down when I have more buttons than my screen can fit. The problem is that it doesn’t work with <ion-scroll> or whatever class you use on <ion-content>. So I am wondering: is it even possible to do this without using <ion-item> and <ion-list>?

I mean, what is the trick? What am I missing?

<ion-content>
<div>Some divs hereeeee</div>

<button collection-repeat="someRepeatHere">blablabla</button>

</ion-content>

#2

Nobody who can help?


#3

<ion-content class=“scroll-container”>
<div class=“scroll”>
put all your contents inside this div

</div>
</ion-conten>


#4

That never will work just by adding classes. Thanks for the answer, but not working.