小程序开发工具inputbug
发布于 5 年前 作者 chaoshao 6026 次浏览 来自 问答
  • 当前 Bug 的表现(可附上截图)

小程序开发工具input光标闪烁,在手机上调试无问题,开发工具上有问题,点击时光标无法定位在输入框内

***只有一个单个的input时,光标可以正常定位到输入框内

  • 预期表现
  • 复现路径
  • 提供一个最简复现 Demo

wxml

<!-- <view class=‘btn’>test</view>

<view class=‘btn’>test</view>

<view class=‘btn’>test</view> -->

<view class=‘btn’>test</view>

<input class=“ipt” type=“text”  />

wxss

.btn{

width: 200rpx;

height:100rpx;

background-color: #005ebc;

text-align: center;

color: #fff;

line-height: 100rpx;

margin: 50rpx auto;

border-radius: 10rpx

}

1 回复

你好,复制以上的代码在工具上未能复现哦

回到顶部