Open romanown opened 6 years ago
Are you sure? I was planning to use antd, which seems to refer to this component.
If i see the page source - no items of menu. have only submenu. You can see it.
<li class="rc-menu-submenu rc-menu-submenu-horizontal" role="menuitem"><div class="rc-menu-submenu-title" aria-expanded="false" aria-haspopup="true">COLOR<i class="rc-menu-submenu-arrow"></i></div></li>
forceSubMenuRender = {true} or forceSubMenuRender = 'true'
do not helped me
With getPopupContainer
https://codesandbox.io/s/748w1073pj
Thanks. for a horizontal menu, this works. but the vertical menu for mobile that is hidden and shown only when you click on the button has no items. but if you do the same for html and CSS are displayed items.
in the code inspector there is
and in the source code of the data page is still not. <li class="rc-menu-submenu rc-menu-submenu-horizontal" role="menuitem"><div class="rc-menu-submenu-title" aria-expanded="false" aria-haspopup="true">All<i class="rc-menu-submenu-arrow"></i></div></li></ul></div></div></div>
code
`render() {
return (
perhaps this situation occurs because the menu module is displayed in ModalPortal?
Google doesn't see it. after I start using this component, almost all pages are removed from the Google cache. I have
"react": "^16.2.0", "react-dom": "^16.2.0", "react-router": "^4.2.0", "react-router-dom": "^4.2.2",