menu
menu copied to clipboard
React Menu
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 18.3.1 to 19.2.3. Release notes Sourced from react-dom's releases. 19.2.3 (December 11th, 2025) React Server Components Add extra loop protection to React Server Functions (@sebmarkbage #35351) 19.2.2...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.3.1 to 19.2.3. Release notes Sourced from react's releases. 19.2.3 (December 11th, 2025) React Server Components Add extra loop protection to React Server Functions (@sebmarkbage #35351) 19.2.2...
这段代码中无论是 custom-sub-menu 还是 custom-sub-menu-inside 都没能正确的传给 Menu.SubMenu 组件,导致不能正常工作: ```jsx function CustomSubMenu(props) { return ( item ); } ``` 我查了相关文档也没有找到类似问题,后面我读了源码才看到是在 https://github.com/react-component/menu/blob/master/src/utils/commonUtil.ts#L4 `parseChildren` 里通过 `cloneElement` 的方式注入了 `props.eventKey` 去传递的,而这个 eventKey 也没有声明在 SubMenuProps 类型里,上面的代码修复后应该是: ```jsx...
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.7 to 19.2.3. Commits See full diff in compare view [](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...
This PR fixes issue https://github.com/ant-design/ant-design/issues/53495 Determine the focus key based on the selectable configuration: If the item is not selectable, focus the default item. If the item is selectable, decide...
solution to https://www.cnblogs.com/luyifo/articles/18064051 ## Summary by CodeRabbit - **文档** - 在 README 中为 Menu 组件新增了 `disabledOverflow` 属性的说明,包括类型、默认值和功能描述。