Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49185

How to stop Ionic-scroll goes over the original content

$
0
0

@MrYoYorM wrote:

I'm trying to create an ionic 1.3 application and I'm using ion-scroll element to let user scroll through a long list of data horizontally and vertically. Everything working fine except the scroll content let user to scroll over the existing spaces.
Like the following image

When I check the source code, I can see that a new div was added with 'scroll' class and transform: translate3d(0px, 0px, 0px) value was adjust according to the scroll position.

I think I will be able to solve the problem if there is a way to prevent the x value of translate3d not to go under zero [transform: translate3d(0px, 0px, 0px)]. So please guide me to solve this problem by showing how to implement above logic or any other ways to solve this over scrolling problem. Thanks in advance.

You can find the sample source code at http://play.ionic.io/app/720567016712

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>