Skip to content

Commit 2484f6a

Browse files
funcionando sista con ionic v1.2.4
las versiones mayores a 1.2.0 tienen habilitado por default nativescroll, y esto rompe sista, entonces para que funcione hay que hacer lo siguiente //jsScroll voy a pooner tru para probar sista $ionicConfigProvider.scrolling.jsScrolling(true)
1 parent 600e1a1 commit 2484f6a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "HelloIonic",
33
"private": "true",
44
"devDependencies": {
5-
"ionic": "1.1.0"
5+
"ionic": "1.2.4"
66
},
77
"dependencies": {
88
"ionic-ion-header-shrink": "*",

www/js/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ angular.module('starter', ['ionic', 'starter.controllers',
3232
// $ionicConfigProvider.tabs.position('top');
3333
$ionicConfigProvider.tabs.position('bottom');
3434

35+
//jsScroll voy a pooner tru para probar sista
36+
$ionicConfigProvider.scrolling.jsScrolling(true)
37+
3538
// Ionic uses AngularUI Router which uses the concept of states
3639
// Learn more here: https://github.com/angular-ui/ui-router
3740
// Set up the various states which the app can be in.

www/templates/tab-chats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ <h2>{{chat.name}}</h2>
1212
</ion-option-button>
1313
</ion-item>
1414
</ion-list>
15-
<div class="list card" ng-repeat="n in [1,2,3,4]">
15+
<div class="list card" ng-repeat="n in [1,2,3,45,6,7,8,9]">
1616
<div class="item item-body">
1717
<p>
1818
Bacon ipsum dolor amet beef cow pork, picanha sirloin filet mignon alcatra bacon ham. Landjaeger fatback jowl short ribs shoulder sirloin tongue picanha. Boudin tail strip steak shankle, turkey capicola pancetta tongue pork chop drumstick meatloaf. Venison tongue fatback strip steak ribeye kevin, capicola bacon.

0 commit comments

Comments
 (0)