diff --git a/src/components/tieredmenu/TieredMenu.js b/src/components/tieredmenu/TieredMenu.js index e686af17a2..bef7f99bf6 100644 --- a/src/components/tieredmenu/TieredMenu.js +++ b/src/components/tieredmenu/TieredMenu.js @@ -47,6 +47,7 @@ export class TieredMenu extends Component { this.onEnter = this.onEnter.bind(this); this.onEntered = this.onEntered.bind(this); this.onExit = this.onExit.bind(this); + this.onExited = this.onExited.bind(this); this.onPanelClick = this.onPanelClick.bind(this); this.id = this.props.id || UniqueComponentId(); @@ -109,6 +110,10 @@ export class TieredMenu extends Component { this.unbindScrollListener(); } + onExited() { + DomHandler.revertZIndex(); + } + bindDocumentListeners() { this.bindDocumentClickListener(); this.bindDocumentResizeListener(); @@ -188,7 +193,7 @@ export class TieredMenu extends Component { return ( + unmountOnExit onEnter={this.onEnter} onEntered={this.onEntered} onExit={this.onExit} onExited={this.onExited}>