Skip to content

Commit

Permalink
fix(Menu): to much data overflow when popupAlign is outside
Browse files Browse the repository at this point in the history
  • Loading branch information
youluna authored and tao1991123 committed Jan 2, 2019
1 parent ac086c4 commit 726da77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/menu/view/popup-item.jsx
Expand Up @@ -96,6 +96,7 @@ export default class PopupItem extends Component {
}
if (popupAlign === 'outside' && !(direction === 'hoz' && level === 1)) {
setStyle(this.popupNode, 'height', `${menuNode.offsetHeight}px`);
setStyle(this.popupNode, 'overflow-y', 'scroll');
}
// removeClass(this.popupNode, `${prefix}hide`);

Expand Down

0 comments on commit 726da77

Please sign in to comment.