点击input输入值时,input会闪动(失焦),导致键盘拉起后又隐藏,体验不好
- 当前 Bug 的表现(可附上截图)
- 预期表现
点击input框聚焦时会闪动,导致失焦,影响键盘的拉起,体验不好
- 复现路径
再登录页面
- 提供一个最简复现 Demo
< view class = 'userinfo' > < form bindsubmit = "formSubmit" report-submit = 'true' > < view class = 'userinfo1' > < image bindtap = "bindViewTap" class = "userinfo-avatar" src = '/images/login/logo.svg' ></ image > </ view > < view class = 'margintop60' > < input class = 'borderstyle' focus = 'true' value = '{{inputName}}' placeholder-class = "plastyle" type = 'text' bindinput = "nameFun" placeholder = '请输入企业账号' ></ input > < input class = 'borderstyle margintop20' value = '{{inputUsername}}' placeholder-class = "plastyle" bindinput = 'usernameFun' type = 'text' placeholder = '请输入用户账号' ></ input > < input class = 'borderstyle margintop20' value = '{{inputPassword}}' placeholder-class = "plastyle" bindinput = 'passwordFun' type = 'text' password placeholder = '请输入密码' ></ input > <!-- <button class='margintop20' type='primary' bindtap='submit'>登录</button> --> < checkbox-group class = "margintop20 checkboxtext" bindchange = "checkboxChange" > < label class = "checkbox" wx:for = "{{items}}" > < checkbox class = 'wh' value = "{{item.name}}" checked = "{{item.checked}}" /> {{item.value}} </ label > </ checkbox-group > < button class = 'margintop20' disabled = "{{disabled}}" formType = 'submit' type = "primary" >登录</ button > </ view > </ form > </ view > |