mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
include scroll event interval fix
This commit is contained in:
4
dist/css/ionic.css
vendored
4
dist/css/ionic.css
vendored
@@ -2210,7 +2210,9 @@ body, .ionic-body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
-webkit-backface-visibility: hidden;
|
||||
@incude text-size-adjust(none);
|
||||
-webkit-text-size-adjust: none;
|
||||
-moz-text-size-adjust: none;
|
||||
text-size-adjust: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-user-select: none;
|
||||
|
||||
6
dist/js/ionic-angular.js
vendored
6
dist/js/ionic-angular.js
vendored
@@ -655,7 +655,8 @@ angular.module('ionic.ui.content', [])
|
||||
refreshComplete: '=',
|
||||
scroll: '@',
|
||||
hasScrollX: '@',
|
||||
hasScrollY: '@'
|
||||
hasScrollY: '@',
|
||||
scrollEventInterval: '@'
|
||||
},
|
||||
compile: function(element, attr, transclude) {
|
||||
return function($scope, $element, $attr) {
|
||||
@@ -716,7 +717,8 @@ angular.module('ionic.ui.content', [])
|
||||
// Add timeout to let content render so Scroller.resize grabs the right content height
|
||||
$timeout(function() {
|
||||
sv = new ionic.views.Scroll({
|
||||
el: $element[0]
|
||||
el: $element[0],
|
||||
scrollEventInterval: parseInt($scope.scrollEventInterval) || 40
|
||||
});
|
||||
|
||||
// Activate pull-to-refresh
|
||||
|
||||
6
js/ext/angular/src/directive/ionicContent.js
vendored
6
js/ext/angular/src/directive/ionicContent.js
vendored
@@ -31,7 +31,8 @@ angular.module('ionic.ui.content', [])
|
||||
refreshComplete: '=',
|
||||
scroll: '@',
|
||||
hasScrollX: '@',
|
||||
hasScrollY: '@'
|
||||
hasScrollY: '@',
|
||||
scrollEventInterval: '@'
|
||||
},
|
||||
compile: function(element, attr, transclude) {
|
||||
return function($scope, $element, $attr) {
|
||||
@@ -92,7 +93,8 @@ angular.module('ionic.ui.content', [])
|
||||
// Add timeout to let content render so Scroller.resize grabs the right content height
|
||||
$timeout(function() {
|
||||
sv = new ionic.views.Scroll({
|
||||
el: $element[0]
|
||||
el: $element[0],
|
||||
scrollEventInterval: parseInt($scope.scrollEventInterval) || 40
|
||||
});
|
||||
|
||||
// Activate pull-to-refresh
|
||||
|
||||
@@ -22,7 +22,7 @@ body, .ionic-body {
|
||||
@include font-smoothing(antialiased);
|
||||
//-webkit-perspective: 1000;
|
||||
-webkit-backface-visibility: hidden;
|
||||
@incude text-size-adjust(none);
|
||||
@include text-size-adjust(none);
|
||||
@include tap-highlight-transparent();
|
||||
@include user-select(none);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user