menu icon indicating copy to clipboard operation
menu copied to clipboard

React Menu

Results 127 menu issues
Sort by recently updated
recently updated
newest added

内联菜单,最多指定某一层次的子菜单,较深的子菜单将右弹窗。关联antd issue: [#31669](https://github.com/ant-design/ant-design/issues/31669) inlineMaxLevel = 2 的效果: 内联菜单超过2级后将在右侧弹窗显示 ![动画2](https://user-images.githubusercontent.com/9513530/128325967-68cbbb43-960d-4942-a0ff-e7c79a289bec.gif)

[ant-design issue](https://github.com/ant-design/ant-design/issues/30906) ### 官方文档可复现 [https://ant.design/components/menu-cn/#components-menu-demo-inline-collapsed](https://ant.design/components/menu-cn/#components-menu-demo-inline-collapsed) ### Steps to reproduce 1. 缩起内嵌菜单 2. 点击三级菜单 3. 打开内嵌菜单 4. 点击三级标题,此时缩起状态的三级菜单异常浮现 ![menu](https://user-images.githubusercontent.com/9513530/121482355-ae1e5900-c9ff-11eb-8c7e-92a821eb3f20.gif) ### After fixing the bug ![menu2](https://user-images.githubusercontent.com/9513530/121483023-4d435080-ca00-11eb-96d1-2136a1f7df40.gif)

When added to a Menu, a new "remainOnSelect" property allows the menu to remain active even after the user selects an item. This should be particularly useful for multi-select scenarios.

The idea of this pull request is to focus on the active item making the screen reader announce its content. I would like to know if you approve of this...

to cater for scenario where top level items are `click` and sub menus are `hover` - similar to google docs menu UX

when get keys in onOpenChange to set openKeys, type mismatch. maybe use React.Key is better.

add setState condition in updateMiniStore method to avoid infinite call in componentDidUpdate

### What problem does this feature solve? 垂直内嵌菜单,子菜单内嵌在菜单区域。如果有三级、四级、五级菜单,内嵌层级太深显示不了。 ### What does the proposed API look like? 建议加一个 api: inlineMaxLevel。在 mode="inline" 下,指定最多内嵌几层子菜单,更深的子菜单右侧弹窗显示。 ### 现在不好的效果预览: ![Snipaste_2021-08-05_11-24-07](https://user-images.githubusercontent.com/9513530/128285985-d97259d7-d41f-4dba-83c4-77e4d63763d5.png) ### 期望的好的效果预览: ![Snipaste_2021-08-05_11-14-15](https://user-images.githubusercontent.com/9513530/128285765-67e9e5c7-f2d7-492d-8b55-5a03b8632915.png)

Hi all, how could be difficult to implement a feature that combines 'inline' and 'vertical' mode like shown here: ![inline vertical-rcmenu](https://user-images.githubusercontent.com/10573253/51062766-66116700-15f8-11e9-87f2-13b2a9335a64.gif) It's essentially an inline mode but when the mouse...