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

[Bug] Cascader自定义显示时,首次点击自定义显示内容,下拉浮层展示后,再次点击自定义显示内容,浮层无法关闭 #35592

Closed
Selvin11 opened this issue May 17, 2022 · 7 comments · Fixed by react-component/select#761
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it

Comments

@Selvin11
Copy link

Reproduction link

https://ant.design/components/cascader-cn/#components-cascader-demo-custom-trigger

Steps to reproduce

点击自定义显示区域,下拉浮层展示,再次点击自定义显示区域,下拉浮层快速隐藏一次和显示一次,导致最终浮层无法关闭

What is expected?

点击自定义显示区域,下拉浮层展示,再次点击自定义显示区域,下拉浮层隐藏,依此类推。

What is actually happening?

点击自定义显示区域,下拉浮层展示,再次点击自定义显示区域,下拉浮层显示,多次点击也无法隐藏。

Environment Info
antd 4.20.5
React 17.0.2
System MacOS Monterey
Browser chrome 101.0.4951.64
@afc163
Copy link
Member

afc163 commented May 17, 2022

无法重现。

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label May 17, 2022
@github-actions
Copy link
Contributor

Hello @Selvin11. 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 3 days.

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

@Selvin11
Copy link
Author

无法重现。
Kapture 2022-05-17 at 15 17 08

@afc163
Copy link
Member

afc163 commented May 17, 2022

浏览器是啥?浏览器版本号是多少?

@afc163
Copy link
Member

afc163 commented May 17, 2022

我按你的操作方式是会消失的。

@Selvin11
Copy link
Author

=。=,chrome,版本 101.0.4951.64(正式版本) (arm64)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. 👷🏻‍♂️ Someone working on it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants