uni-app 点击input无效 不能获取光标弹出键盘
uni-app 点击input无效 不能获取光标弹出键盘
| 开发环境 | 版本号 | 项目创建方式 |
|---|---|---|
| Windows | 10 | HBuilderX |
示例代码:
<view class="userInputBox flexRow displayFlex" >
<input class="userInputText initialText"
@confirm="sendValue" placeholder="说点什么" type="text"
confirm-type="send" v-model="userSendValue">
</view>
操作步骤:
<input class="userInputText initialText"
@confirm="sendValue" placeholder="说点什么" type="text"
confirm-type="send" v-model="userSendValue">
预期结果:
可以的点击input 正常输入
实际结果:
点击input 无效 不能获取光标弹出键盘
bug描述:
input 组件无法被选中
更多关于uni-app 点击input无效 不能获取光标弹出键盘的实战教程也可以访问 https://www.itying.com/category-93-b0.html
2 回复
已解决 因为最外层的盒子绑定了方法
更多关于uni-app 点击input无效 不能获取光标弹出键盘的实战教程也可以访问 https://www.itying.com/category-93-b0.html
你这个是怎么解决的,我给最外层绑定了v-if就不行了

