weui / react-weui

weui for react

Home Page:https://weui.github.io/react-weui/docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于CheckBox的问题,无法通过props传递onClick等方法给CheckBox渲染的div

zhanghj819 opened this issue · comments

Do you want to request a feature or report a bug (建议还是bug) ?
建议

What is the current behavior? (现有状况)
现有CheckBox代码,是通过props传递...others到input标签,而input标签的样式是通过绝对定位偏离出屏幕的,无法点击的,因此传递onClick等props到input标签,无法被用户点击。

What is the expected behavior? (应有状况)
...others 应该传递到 render方法的div中

Which versions of React-weui, weui, and which OS and device are affected by this issue? (React-weui版本 weui版本 机型和系统)
"react-weui": "^1.1.3", "weui": "^1.1.0"