more keyboard fixes, publish 0.1.15

This commit is contained in:
Nick Wientge 2015-02-18 20:06:12 -08:00
parent b1c0db5dbf
commit a29f799175
3 changed files with 3 additions and 5 deletions

View file

@ -27,7 +27,7 @@ jquery@1.11.3
json@1.0.2
logging@1.0.6
meteor@1.1.4
meteoric:ionic@0.1.14
meteoric:ionic@0.1.15
minifiers@1.1.3
minimongo@1.0.6
mongo@1.0.11

View file

@ -62,9 +62,7 @@ window.addEventListener('native.keyboardshow', function (event) {
var contentOffset = $(event.delegateTarget).offset().top;
var padding = 10;
var scrollTo = $(event.delegateTarget).scrollTop() + $(this).offset().top - (contentOffset + padding);
$(event.delegateTarget).animate({
scrollTop: scrollTo
});
$(event.delegateTarget).scrollTop(scrollTo);
});
});

View file

@ -1,7 +1,7 @@
Package.describe({
name: "meteoric:ionic",
summary: "Ionic components for Meteor. No Angular!",
version: "0.1.14",
version: "0.1.15",
git: "https://github.com/meteoric/meteor-ionic.git"
});