menu
menu copied to clipboard
React Menu
SubMenu 水平模式 在IE 浏览器下面 不弹出二级菜单,只有第一个菜单有二级菜单能够正确弹出,后面其他菜单有二级菜单的情况都不会弹出, 我多次测试后发现在8.x 版本水平模式在IE 都能正确的弹出二级菜单,一旦升级到9.x 版本就不能正确兼容IE。 
Assuming that this project is being developed using ES modules, there is an issue on the src/DomWrap.jsx and src/utils.js files. There is a mix of require() (CommonJS syntax) and import...
**背景**: horizontal responsive模式下, 当全部 menu item 总宽度超出 overflow 宽度时, 默认全部 menu item 都会被绘制到页面, 出现溢出, 随后才会计算和隐藏. **期许**: rc-menu 可能仅在 client 端使用, 这个时候, 希望ssr 值非写死, 实现 menu item 当被绘制时是已经计算好的数量, 不出现目前的闪动. **复现方式**: 可以用...
很久的一个历史问题了,antd 官方和本仓库demo都可复现。解析 Submenu 里的 items 时,如果存在嵌套 Submenu ,就出现此问题,即存在第三层 menu 的样式问题。  解决方案:考虑在inline模式下非折叠时,不设置 motion 动画。 相关 issue :https://github.com/ant-design/pro-components/issues/7607#issuecomment-1705497434 ,这个gif 同样问题。 相关 pr: 1. https://github.com/react-component/menu/pull/410 ,这个pr是在折叠后,直接把 popup...
代码如下 ``` const renderTable = (nodes: TableItem[]) => { return nodes.map((item) => { if (!item.children) { return ( {item.label} ); } return ( {renderTable(item.children)} ); }); }; const [openKeys, handleOpenKeys]...
Due to accessibility and UX reasons I want to render actual link elements instead of `li` elements. This can currently only achieved by using `` which gives me an error...
findDOMNode is deprecated and will cause issues in the future. I've just experimented with the new `React.lazy()` api and I got an exception right here: https://github.com/react-component/menu/blob/master/src/MenuItem.jsx#L54-L56 When I was asynchronously...
Bumps [dumi](https://github.com/umijs/dumi) from 1.1.50 to 2.1.14. Commits ce9c8e7 build: release 2.1.14 33f70a6 fix: dom type render failed bug in API component (#1507) 09db565 feat: support to hide sidebar via page...
The examples on the page http://react-component.github.io/menu/ and main documentation are outdated. The `openAnimation` property is no longer supported and produces the following warning: > Warning: Object type of `openAnimation` is...
Issue demo: https://codesandbox.io/s/ji-ben-antd-4-18-5-forked-orrdd?file=/index.js Have tried to add test case, but not success to simulate keyDown event([official issue](https://github.com/enzymejs/enzyme/issues/441)): ```ts it('input and textarea cursor can be moved by arrow', () => {...