Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

How to Lock vertical scrolling while scrolling horizontally

$
0
0

Own carousel has 'onDragged' callback function.
You can check here: http://owlcarousel.owlgraphic.com/docs/api-callback-functions.html

But it seems that you are using some wrapper on top of carousel and have to check how to use this callback.

But the main idea is onDragged to set some boolean variable and in html to use this variable like: data-ng-class="{'scrolling: onScroll}" on element that you want to lock vertical scroll.

After that in your style file to set .scrolling { overflow-y: hidden }


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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