I’m trying to create a scrollable horizontal navigation bar, using ion-scroll.
When you click an element of the navigation bar, ion-scroll should scroll horizontally to that element so it becomes fully into view.
Here’s the navigation bar. As you can see I have clicked on the “Help” section but it’s outside the screen.
Any ideas on how to accomplish this on ionic 2 ?
1 Like
any ideas on how to fix are appreciated
Can you put together a plnkr of what you’ve tried so far?
Kind of difficult to know what the issue is without it
Aymane
4
I have exactly the same problem here, i can’t find a solution to do an automatic scroll to my selected segment.
I put an example here in plinkr to see exactly how it looks like.
http://plnkr.co/edit/tlqsvEJE42JQWnlFgnfi?p=preview