input 光标聚焦问题

这么写,真机调试,微信直接卡死,整个微信退出 重新登录。。额。。。
input 父级 是判断隐藏型的,,我想让他显示的时候 自动聚焦,但是,,,尝试 做不到啊,,,
求解,
2 回复
改用focus试试呢,若还有问题,麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
