I have some
div with fixed height, lets say 100px.
Here is snippets of HTML:
<div class="theroot" style="height='100px'">
<button class="backbutton" ng-repeat="contact in attendees">
I have about 30 buttons and to let to user to see all buttons, I need to add scroll to
I tried to add style:
overflow: auto; but nothing happens.
ion-scroll I can’t use, it demands me to use class
item. Sometimes more then one button can lay on one row
How to do that?
This may answer your question?
Lists by default are scrollable; so, you shouldn't need to do anything with them to make that happen. See this example : http://codepen.io/ionic/pen/JsHjf NOTE : That has touch enabled; so, you need to click and drag with a mouse.
But how this example is help me? I can’t use
ion-scroll (as mentioned in question). I just want to simulate
Ion-scroll gives me one button per line (item). But sometimes if buttons are short enough , I’ll put 2 items in one line:
Or there is no way but use
Excellent!! Thank you sir. Sounds like I had other issue that caused to
ion-scroll to work by different way.