Description
In the current nightly build (746) I notice that the ion-nav-bar header tap affects all the cached views that are in the DOM.
Example:
I have a cached view that has an infinite scroll on it. When I go to a new view, render a list, and then tap the header to scroll to the top it makes the infinite scroll on my cached view go crazy. I can probably make a code pen to replicate the issue but I think the issue is clear enough.
I see that the tapScrollTopDirective
in ionic-angular.js uses $ionicScrollDelegate.scrollTop(true)
.
This info about $ionicScrollDelegate
in the docs illustrates the issue that is occurring with the cached views -
"Methods called directly on the $ionicScrollDelegate service will control all scroll views. Use the $getByHandle method to control specific scrollViews."
Thank you for the improvements in beta 14. Is this something developers will need to work around or will there be a fix created so that the header tap scroll is done on the active view only?