diff --git a/src/core/view/mixins/keyboard.js b/src/core/view/mixins/keyboard.js index 632652deabc6b3fb337369da58faf2eff83eab64..2d706bdfa060f61d9a573a61058d5914035c8fdc 100644 --- a/src/core/view/mixins/keyboard.js +++ b/src/core/view/mixins/keyboard.js @@ -60,12 +60,9 @@ export default { plusReady(() => { const currentWebview = plus.webview.currentWebview() const style = currentWebview.getStyle() || {} - if (style.softinputMode === 'adjustResize') { - return - } const rect = this.$el.getBoundingClientRect() currentWebview.setSoftinputTemporary && currentWebview.setSoftinputTemporary({ - mode: this.adjustPosition ? 'adjustPan' : 'nothing', + mode: style.softinputMode === 'adjustResize' ? 'adjustResize' : (this.adjustPosition ? 'adjustPan' : 'nothing'), position: { top: rect.top, height: rect.height + (Number(this.cursorSpacing) || 0)