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

Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.5 to 19.0.4. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react-dom&package-manager=npm_and_yarn&previous-version=18.3.5&new-version=19.0.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

- ref https://github.com/ant-design/ant-design/issues/52115 ## Summary by CodeRabbit ## 发布说明 - **新功能** - 菜单组件现在支持通过 `items` 属性更灵活地定义菜单结构 - 为菜单项添加了可选的 `title`、`role` 和 `key` 属性 - 增加了菜单项的 `disabled` 属性以支持禁用状态 - **改进** - 移除了已弃用的 `children`...

Hi guys! Thanks for your component, it's very cool! I would like to know when you will make React 19 support? Error: "Accessing element.ref was removed in React 19. ref...

Hi! 👋 Firstly, thanks for your work on this project! 🙂 Today I used [patch-package](https://github.com/ds300/patch-package) to patch `[email protected]` for the project I'm working on. Here is the diff that solved...

我正在公司的组件库中封装Menu组件,是基于rc-menu进行的二次封装。现在有个逻辑是:在MenuItem被选中时,它所属的SubMenu的空心icon需要切换到选中态的实心icon,我发现在SubMenu中无法获取到它下属的MenuItem是否有被选中的。我尝试`import {PathUserContext} from 'rc-menu/lib/context/PathUserContext',但在使用React.useEffect(PathUserContext)无法获取到值。请教下我该如何能实现上述的切换逻辑?

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 24.10.9 to 25.0.9. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=24.10.9&new-version=25.0.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies
javascript

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.3.27 to 19.2.8. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/react&package-manager=npm_and_yarn&previous-version=18.3.27&new-version=19.2.8)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies
javascript

[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE_CN.md?plain=1) ### 🤔 This is a ... - [x] 🆕 New feature - [ ] 🐞 Bug fix - [ ] 📝 Site / documentation improvement -...

解决52602 的问题,在 menu 组件中,如果传入了 extra,文字超长时无法显示省略号,因此进行了判断,如果发现有 extra,添加 span 标签包裹。 ## Summary by CodeRabbit ## 发布说明 * **Bug Fixes(错误修复)** * 改进了菜单项中额外内容的渲染逻辑,确保包含额外信息的菜单项能够正确显示和布局。 * **UI/样式改进** * 优化了菜单项标签和额外内容的条件渲染,提升了菜单组件的视觉表现。 ✏️ Tip: You can customize this high-level...

Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.39.2. Release notes Sourced from eslint's releases. v9.39.2 Bug Fixes 5705833 fix: warn when eslint-env configuration comments are found (#20381) (sethamus) Build Related 506f154 build:...

dependencies
javascript