收藏
回答

原生input iphone机型下自动弹出键盘?。

<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">
    <!-- picker修改源码 -->
    <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>
回答关注问题邀请回答
收藏

6 个回答

  • Demons
    Demons
    2022-08-22

    请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

    2022-08-22
    有用
    回复
  • Iceberg
    Iceberg
    2023-02-07

    查找下是否有自写或者三方组件用到input,focus设置了true,而这个组件不是直接显示,在一定条件才显示。

    2023-02-07
    有用
    回复
  • 杨
    2022-11-14

    有解决吗?iphone11机型一直会出现 ,textarea input 都会出现

    2022-11-14
    有用
    回复
  • IMpBear
    IMpBear
    2022-10-20

    有解决吗? 我也遇到了这个问题,很奇怪

    2022-10-20
    有用
    回复
  • 尐飞魚คิดถึง
    尐飞魚คิดถึง
    2022-08-22

    focus="{{false}}" 试试

    2022-08-22
    有用
    回复 4
  • ⅴ
    2022-08-22

    问题是什么

    2022-08-22
    有用
    回复 1
    • 鼠尾草
      鼠尾草
      2022-08-22
      看标题....
      2022-08-22
      回复
登录 后发表内容