J
J
John Johnson2019-11-26 10:30:07
css
John Johnson, 2019-11-26 10:30:07

How to hide menu items in Ant Design?

Good day. Maybe someone worked with Ant design.
There are two main problems:
1) When hiding the sidebar, the elements that are not located in the toggle of the SubMenu component are not hidden. Is it possible to do normal hiding without wrapping in SubMenu , maybe there is some kind of API for such a case?
2) When the sidebar is hidden, the icons remain, and when you hover over them, e-you appear. Is there any way to disable this hovering functionality?
codesanbox

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question