Skip to content

Commit

Permalink
fix(): fixes issue #6715
Browse files Browse the repository at this point in the history
  • Loading branch information
vizeke authored and jgw96 committed Oct 21, 2016
1 parent 6e622a4 commit 26f3397
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/views/scrollViewNative.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@

if(options.startY >= 0 || options.startX >= 0) {
ionic.requestAnimationFrame(function() {
self.__originalContainerHeight = self.el.getBoundingClientRect().height;

self.el.scrollTop = options.startY || 0;
self.el.scrollLeft = options.startX || 0;

Expand Down

0 comments on commit 26f3397

Please sign in to comment.