Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Commit

Permalink
Apply backdrop for dropdown menu (#1063)
Browse files Browse the repository at this point in the history
  • Loading branch information
ippudo authored Oct 15, 2018
1 parent a52c2ac commit 9e9c89a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/NavBar/DropdownMenu.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import { withStyles, Hidden, IconButton, Badge } from '@material-ui/core';
import { withStyles, Hidden, IconButton, Badge, Backdrop } from '@material-ui/core';
import { ExpandMore, ExpandLess } from '@material-ui/icons';
import { inject, observer } from 'mobx-react';
import { FormattedMessage } from 'react-intl';
Expand Down Expand Up @@ -70,5 +70,6 @@ export const DropdownMenu = withStyles(styles)(inject('store')(observer(({ class
<div className={classes.navDropdownLinkItem} onClick={ui.onHelpButtonClick}>
<FormattedMessage id="help" defaultMessage="Help" />
</div>
<Backdrop invisible open={ui.dropdownMenuOpen} onClick={ui.toggleDropdownMenu} />
</div>
))));

0 comments on commit 9e9c89a

Please sign in to comment.