@@ -24576,7 +24576,7 @@ angular.module('ionic.ui.content', [])
2457624576 return {
2457724577 restrict: 'E',
2457824578 replace: true,
24579- template: '<div class="scroll-content"><div class="scroll"></div>< /div>',
24579+ template: '<div class="scroll-content"></div>',
2458024580 transclude: true,
2458124581 scope: {
2458224582 onRefresh: '&',
@@ -24618,9 +24618,16 @@ angular.module('ionic.ui.content', [])
2461824618
2461924619 // If they want plain overflow scrolling, add that as a class
2462024620 if($scope.scroll === "false") {
24621+ var clone = transclude($scope.$parent);
24622+ $element.append(clone);
2462124623 } else if(attr.overflowScroll === "true") {
2462224624 c.addClass('overflow-scroll');
24625+ var clone = transclude($scope.$parent);
24626+ $element.append(clone);
2462324627 } else {
24628+ var sc = document.createElement('div');
24629+ sc.className = 'scroll';
24630+ $element.append(sc);
2462424631 // Otherwise, supercharge this baby!
2462524632 var sv = new ionic.views.Scroll({
2462624633 el: $element[0].firstElementChild,
@@ -24636,11 +24643,11 @@ angular.module('ionic.ui.content', [])
2463624643 });
2463724644 // Let child scopes access this
2463824645 $scope.scrollView = sv;
24639- }
2464024646
24641- // Pass the parent scope down to the child
24642- var clone = transclude($scope.$parent);
24643- angular.element($element[0].firstElementChild).append(clone);
24647+ // Pass the parent scope down to the child
24648+ var clone = transclude($scope.$parent);
24649+ angular.element($element[0].firstElementChild).append(clone);
24650+ }
2464424651 };
2464524652 }
2464624653 };
@@ -25779,6 +25786,7 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture'])
2577925786 return;
2578025787 }
2578125788 sideMenuCtrl._handleDrag(e);
25789+ e.gesture.srcEvent.preventDefault();
2578225790 };
2578325791
2578425792 var dragGesture = Gesture.on('drag', dragFn, $element);
0 commit comments