mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
text input focus updates
This commit is contained in:
@@ -10,10 +10,7 @@ import {ScrollTo} from '../../animations/scroll-to';
|
||||
selector: 'ion-content',
|
||||
properties: [
|
||||
'parallax'
|
||||
],
|
||||
host: {
|
||||
['[class.scroll-padding]']: 'scrollPadding'
|
||||
}
|
||||
]
|
||||
})
|
||||
@View({
|
||||
template: '<div class="scroll-content"><ng-content></ng-content></div>'
|
||||
@@ -21,8 +18,6 @@ import {ScrollTo} from '../../animations/scroll-to';
|
||||
export class Content extends Ion {
|
||||
constructor(elementRef: ElementRef, config: IonicConfig) {
|
||||
super(elementRef, config);
|
||||
|
||||
this.scrollPadding = config.setting('keyboardScrollAssist');
|
||||
}
|
||||
|
||||
onIonInit() {
|
||||
@@ -88,12 +83,4 @@ export class Content extends Ion {
|
||||
}
|
||||
}
|
||||
|
||||
get scrollPadding() {
|
||||
return this._sp;
|
||||
}
|
||||
|
||||
set scrollPadding(val) {
|
||||
this._sp = val;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user