Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SubMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export class SubMenu extends React.Component {
// show appear transition if it's not inline mode
const transitionAppear = haveRendered || !baseProps.visible || !baseProps.mode === 'inline';

baseProps.className += ` ${baseProps.prefixCls}-sub`;
baseProps.className = ` ${baseProps.prefixCls}-sub`;
const animProps = {};

if (baseProps.openTransitionName) {
Expand Down
8 changes: 8 additions & 0 deletions src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,12 @@ export const menuAllProps = [
'isSelected',
'store',
'activeKey',

// the following keys found need to be removed from test regression
'attribute',
'value',
'popupClassName',
'inlineCollapsed',
'menu',
'theme',
];