Skip to content

Commit

Permalink
fix nav
Browse files Browse the repository at this point in the history
  • Loading branch information
lipp committed Mar 27, 2017
1 parent 10b3801 commit bd5755c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/navigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ class Navigation extends React.Component {

onClick = (item, subItem, event) => {
this.props.onChange(item, subItem)
this.close(event)
this.setState({
visible: false
})
}

/**
Expand Down

0 comments on commit bd5755c

Please sign in to comment.