Skip to content
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 的 dropdownRender中 加了单选框,点击单选按钮的文字下拉框就被关闭了 #15333

Closed
1 task
lovebslq opened this issue Mar 12, 2019 · 10 comments
Assignees

Comments

@lovebslq
Copy link

lovebslq commented Mar 12, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击“单选按钮旁边的文字”下拉框就被关闭

What is expected?

点击自定义窗口里面的任何地方下拉框都不会关闭,点击下拉列表与外面body的其它地方关闭

What is actually happening?

我在父级DIV上面加了 onMouseDown={e => e.preventDefault()} 点击空白区域与单选按钮,还有保存按钮都没有问题,但是点击“单选按钮旁边的文字”下拉框就被关闭了

Environment Info
antd 3.15.0
React Reat
System win10
Browser google 版本 71.0.3578.98
@afc163
Copy link
Member

afc163 commented Mar 12, 2019

#13448 (comment)

@afc163 afc163 closed this as completed Mar 12, 2019
@afc163
Copy link
Member

afc163 commented Mar 12, 2019

你的例子里没看到有单选按钮和单选按钮旁边的文字。

@ant-design-bot
Copy link
Contributor

Hello @lovebslq. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @lovebslq, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Mar 12, 2019
@lovebslq
Copy link
Author

@afc163 加起了,麻烦再帮助我看看,谢谢啦

@lovebslq
Copy link
Author

你的例子里没看到有单选按钮和单选按钮旁边的文字。

加好了,麻烦再帮助我看看,谢谢啦! 刚刚忘记点保存了

@afc163
Copy link
Member

afc163 commented Mar 12, 2019

还是没有

@lovebslq
Copy link
Author

还是没有

添加起了,刚刚没修改成功 https://codesandbox.io/s/p34l3q2577

@afc163 afc163 reopened this Mar 12, 2019
@afc163
Copy link
Member

afc163 commented Mar 12, 2019

Emmm, It works in Firefox but fail in chrome...

@lovebslq
Copy link
Author

Emmm, It works in Firefox but fail in chrome...

现在我们项目就是用 chrome 这个能调整支持吗?

@afc163 afc163 removed the 🤔 Need Reproduce We cannot reproduce your problem label Mar 14, 2019
@zombieJ
Copy link
Member

zombieJ commented Apr 10, 2019

Merge into #13448

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants