collapsed menu will not working, when defaultOpenKeys not in all SubMenu keys
See original GitHub issueVersion
2.13.11
Environment
All browsers
Reproduction link
https://codepen.io/Hughen/pen/LOvKWL
Steps to reproduce
defaultOpenKeys=['sub10']
allSubMenuKeys=['sub1', 'sub2']
// defaultOpenKeys ∩ allSubMenuKeys = 0
What is expected?
every submenu will be expanded, the point hover on it.
What is actually happening?
the menu defaultOpenKeys can not find anything from Menu.SubMenu keys, any submenu is not appeared when sider bar has been collapsed
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Problem with reseting openKeys in Ant Design Menu within ...
I have antd Menu inside collapsible Sider. I've set default open keys for one of Submenus and they should open one at a...
Read more >Menu - Ant Design
Click the menu and you will see that all the other menus gets collapsed to keep the entire menu compact.
Read more >Menu - Ant Design
Click the menu and you will see that all the other menus gets collapsed to keep the entire menu compact. expand code.
Read more >How to use Ant Design Menu Component - YouTube
antd #reactjs # menu #navigation This video focuses on- How to use Ant Design Menu Component in ReactJS- How to create sub menu...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s a bug. ex: my point hover on “Navigation One”, but there is disappearing submenu. please note my demo code, and click fold-unfold button, hover submenu, you will be known what I said.
@afc163 base on your commit, gif demo code: