[Radio + Input] Radio + Input 组合复杂的 Form表单时,Input 无法获取到焦点
x011223 opened this issue · comments
Version of antd-mobile
5.29.0/5.33.0
Operating system and its version
iOS
Browser and its version
ios chrome 110.0
Sandbox to reproduce
https://codesandbox.io/p/sandbox/nostalgic-haze-n47jch
What happened?
Radio + Input/TextArea/VirtualInput 组合成复杂表单,Input无法获取到焦点且无法输入,VirtualInput可以获取到焦点但无法输入,TextArea 可以获取到焦点且可以输入。详见 demo.
Relevant log output
No response
看了下 源码是把Radio组件下所有 input 框给 display:none 了 可以手动给自己的Input 框显示出来