Google doesn't see it and not indexing.
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",
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>
Please see https://github.com/ant-design/ant-design/issues/5586
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 ( <div className={classes.menu}> <Menu /* mode={document.body.clientWidth > 500 ? 'horizontal' : 'vertical'} triggerSubMenuAction={document.body.clientWidth > 500 ? 'hover' : 'click'} */ forceSubMenuRender getPopupContainer={(parent) => parent} style={{backgroundColor: '#2e8982cc', textAlign: 'center', color: '#dedede', paddingLeft: '3px', paddingTop: '0px', width: '100vw', maxWidth: '360px'}} mode= 'horizontal' inlineIndent ='0' > <SubMenu title={titlesRight[0]} key="1">....
I have the server side rendering. may by it is not works?
perhaps this situation occurs because the menu module is displayed in ModalPortal?