-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Select 选择器 showSearch 和 dropdownRender 一起使用时,在自定义内容上添加事件,无法触发 #644
Comments
请提供复现链接(https://codesandbox.io/s/2wpk21kzvr) 方便排查 谢谢 |
@724493602 |
兼容性问题吗?在windows上确实是没反应,在我同事mac上点击触发了,chrome版本73 |
windows上我是用@mousedown来触发的,@click好像会有冲突 |
@724493602 于是,你是怎么解决问题的呢,你的测试链接我能回弹,但是我的demo以及官网demo不行 环境: |
@Xbantian 没有showSearch时 回弹有问题 但是事件触发我这边没能复现 |
@这个是windows上面才会出现的问题 @tangjinzhou 在windows环境下存在showSearch时无法触发插槽的click事件 |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36 |
同上,showSearch的时候无法触发插槽的click事件,请问修复了吗 |
这个问题还没修复吗 |
添加 @mousedown="{e => e.preventDefault()}" |
你的这个我测试了不行,应该是加上 |
请问下自定义拓展的 select dropdownRender 需求是,mode='tags'时, 我看了 antd React 版本的有提供 tagRender 属性,实现自定义tag的,因为真的很需要这个功能、后续考虑加进去吗? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.3.5
Environment
windows,chrome
Reproduction link
https://codesandbox.io/embed/3yor9yw00p
Steps to reproduce
What is expected?
fn 函数能触发
What is actually happening?
fn 点击无反应
去掉showSearch参数就正常触发
The text was updated successfully, but these errors were encountered: