Hello guys. I need to horizontal scroll with img but when I add to much img, it doesn’t fixed correctly into screen. Here is the code
<ion-content overflow-scroll="true">
<div class="statementHeader"> Reading</div>
<ion-scroll direction="x" zooming="false" delegate-handle="horizontal" horizontal-scroll-fix="mainScroll">
<div class="row" id="row">
<ion-item ng-repeat="readingbook in readingbooks">
<img id="profilbookimg" src="{{readingbook.img}}">
</ion-item>
</div>
</ion-scroll>
<div class="statementHeader">Will Read</div>
<ion-scroll direction="x">
<div class="row" id="row">
<ion-item ng-repeat="willreadbook in willreadbooks">
<img id="profilbookimg" ng-src="{{willreadbook.img}}">
</ion-item>
</div>
</ion-scroll>
<div class="statementHeader"> Read</div>
<ion-scroll direction="x">
<div class="row" id="row">
<ion-item ng-repeat="readbook in readbooks" >
<img id="profilbookimg" ng-src="{{readbook.img}}">
</ion-item>
</div>
</ion-scroll>
</ion-content>
Here is the my css code:
.profil-view #profilbookimg{
min-width: 100%;
height: 200px;
margin-left: 10px;
}
My problem is books not seing correctly in reading part. When i give a style in row id like width:500%;
this time it’s scrolling too much.