tab bar updates

This commit is contained in:
Adam Bradley
2015-07-21 14:31:13 -05:00
parent f1303424b1
commit 03246b6722
11 changed files with 93 additions and 134 deletions

View File

@@ -95,7 +95,7 @@ export class TextInput extends IonInput {
if (scrollView && this.scrollAssist) {
// this input is inside of a scroll view
// scroll the input to the top
let inputY = this.elementRef.nativeElement.offsetTop - 15;
let inputY = this.elementRef.nativeElement.offsetTop - SCROLL_Y_PADDING;
// do not allow any clicks while it's scrolling
ClickBlock(true, SCROLL_INTO_VIEW_DURATION + 200);
@@ -158,3 +158,4 @@ export class TextInput extends IonInput {
}
const SCROLL_INTO_VIEW_DURATION = 500;
const SCROLL_Y_PADDING = 28;