Hello, Ionic community!
I’ve got a problem with Ionic scroll directive. There is a link at top-navbar to open a modal window, before this I choose scroll position of my Image and handle it. But when I’m clicking at navbar (and any element on it) - my positions goes to 0.
I watched it with $ionicScrollDelegate.$getByHandle('name_scroll_element').getScrollPosition();
and positions params are become { left: 0, left: 0 }
. Zoom keeps value as I set.
Here is an example at codepen:
http://codepen.io/hofshteyn/pen/KdJrPB
Just scroll an element and click the top navbar. Is is a correct behavior? And how can I avoid it?