Skip to content

Commit

Permalink
Fixed #854 - OnHide callback is not called when visibility property i…
Browse files Browse the repository at this point in the history
…s changed
  • Loading branch information
mertsincan committed Apr 22, 2019
1 parent 7695cf1 commit 7cdca99
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/dialog/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export class Dialog extends Component {
hide() {
this.unbindMaskClickListener();
this.unbindGlobalListeners();

this.props.onHide();

if (this.props.modal) {
this.disableModality();
Expand Down

0 comments on commit 7cdca99

Please sign in to comment.