<van-popup custom-style="height: 50%; width:100%" position="bottom" show="{{ isShow }}" bind:close="onClose">
<van-picker show-toolbar columns="{{ columns }}" bind:confirm="onConfirm" bind:cancel="onClose" active-class="active-blue">
<view slot="after" wx:if="{{schoolshow}}">
<input
wx:if="{{schoolshow}}"
type="text" style="background: #eee;margin-top: 10px;font-size: 13px;width: 200px;height: 60rpx;border-radius: 5px;padding-left: 5px;border-radius: 35rpx" placeholder="没有我所在的学校,请填写"
bindinput="bindCode"
focus="false"
auto-focus="false"
/>
</view>
</van-picker>
</van-popup>
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
查找下是否有自写或者三方组件用到input,focus设置了true,而这个组件不是直接显示,在一定条件才显示。
有解决吗?iphone11机型一直会出现 ,textarea input 都会出现
有解决吗? 我也遇到了这个问题,很奇怪
focus="{{false}}" 试试
问题是什么