Horizontal Scrolling

I have a situation where I want to have a row of images, which don’t fit on the screen. I want them to stack horizontally and go off the edge with horizontal scrolling. I have it working, however I’m not sure where the ion-scroll directive comes into play.

From my little experiment it looks like it is adding a scrollbar, however the scrollbar isn’t working like I think it would. (It’s just a solid bar and doesn’t show the viewport position). I also had to handle setting the overflow and such on the contents.

A little tutorial on how to do horizontal scrolling would be fantastic.


1 Like