在其他事件处理程序中调用 input.select() 方法时, 该 input 的内容会被清空. 我的设备是在 ipad air 64G, chrome 和 safari 都能复现. 见 [https://jsbin.com/soseburovu/edit?html,output]( https://jsbin.com/soseburovu/edit?html,output)
有什么办法 hack 一下吗?
有什么办法 hack 一下吗?
1
kwater Mar 9, 2022
模拟器和 iOS 真机无法重现,我回家也试试
|
2
xiaoming1992 OP @kwater 我已经放弃了,不 select 了。。。
|