微信小程序禁止软键盘顶起页面

微信小程序 yekong

允许软键盘顶起页面

:adjust-position="true"

<input class="TUI-message-input-area" :adjust-position="true" cursor-spacing="20"
						v-model="inputText" @input="onInputValueChange" maxlength="140" type="text"
						placeholder-class="input-placeholder" placeholder="说点什么呢~" @focus="inputBindFocus"
						@blur="inputBindBlur" />

禁止软键盘顶起页面

:adjust-position="false"

<input class="TUI-message-input-area" :adjust-position="false" cursor-spacing="20"
						v-model="inputText" @input="onInputValueChange" maxlength="140" type="text"
						placeholder-class="input-placeholder" placeholder="说点什么呢~" @focus="inputBindFocus"
						@blur="inputBindBlur" />
喜欢