ant-design icon indicating copy to clipboard operation
ant-design copied to clipboard

[Cascader] Submenu not hiding for option which does not have any children

Open harshita2405 opened this issue 4 years ago • 1 comments

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

(1) Create a cascader menu with 3 options (2) Add children to all the options except 2nd. (3) Try to hover from 1st option to 2nd. The children of 1st options are still visible when user goes to 2nd option

What is expected?

Hovering over the option without any children should hide the submenu.

What is actually happening?

When we hover over any option without any children, the submenu of previously hovered option are retained.

Environment Info
antd 3.26.3
React 16.8.6
System mac v11.0.1
Browser Chrome 87.0.4280.88

harshita2405 avatar Jan 08 '21 07:01 harshita2405

这个体验确实不太好

lkiarest avatar Oct 18 '22 07:10 lkiarest