@hofshteyn wrote:
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:
Just scroll an element and click the top navbar. Is is a correct behavior? And how can I avoid it?
Posts: 1
Participants: 1