Skip to content

Commit

Permalink
[Popover] Fix rendering for nested Menus
Browse files Browse the repository at this point in the history
material-ui/issues/3586 changed `<noscript>` to `<div>`
to resolve an issue with react-event-listener and nested `<noscript>`

That change broke layout for nested Menus. This change fixes that.
  • Loading branch information
mbrookes committed Mar 25, 2016
1 parent 35707f7 commit 5a0fe30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Popover/Popover.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ const Popover = React.createClass({

render() {
return (
<div>
<div style={{display: 'none'}}>
<EventListener
elementName="window"
onScroll={this.handleScroll}
Expand Down

0 comments on commit 5a0fe30

Please sign in to comment.