We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8085da9 commit af68058Copy full SHA for af68058
src/SubPopupMenu.tsx
@@ -412,7 +412,9 @@ export class SubPopupMenu extends React.Component<SubPopupMenuProps> {
412
const extraProps = {
413
openKeys: state.openKeys,
414
selectedKeys: state.selectedKeys,
415
- triggerSubMenuAction: this.props.triggerSubMenuAction,
+ triggerSubMenuAction: c.props?.triggerSubMenuAction ?
416
+ c.props.triggerSubMenuAction :
417
+ this.props.triggerSubMenuAction,
418
subMenuKey,
419
};
420
return this.renderCommonMenuItem(c, i, extraProps);
0 commit comments