Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

Commit 26f3397

Browse files
vizekejgw96
authored andcommitted
fix(): fixes issue #6715
1 parent 6e622a4 commit 26f3397

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

js/views/scrollViewNative.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
if(options.startY >= 0 || options.startX >= 0) {
2424
ionic.requestAnimationFrame(function() {
25+
self.__originalContainerHeight = self.el.getBoundingClientRect().height;
26+
2527
self.el.scrollTop = options.startY || 0;
2628
self.el.scrollLeft = options.startX || 0;
2729

0 commit comments

Comments
 (0)