Skip to content

Commit

Permalink
Fix for onVisibleChange event in Select
Browse files Browse the repository at this point in the history
  • Loading branch information
sd-dabb authored and e1emeb0t committed Aug 22, 2017
1 parent 608d98c commit 0ffdb0a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/select/Select.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ class Select extends Component {
}

if (state.visible != this.state.visible) {
if (this.props.onVisibleChange) {
this.props.onVisibleChange(state.visible);
}
this.onVisibleChange(state.visible);
}

Expand Down

0 comments on commit 0ffdb0a

Please sign in to comment.