Skip to content

Commit 1169058

Browse files
Merge pull request mui#1694 from pbambusek/click-awayable
[ClickAwayable] added event propagation to click-awayable mixin
2 parents f47888c + b3b9bd6 commit 1169058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/click-awayable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
if (event.target !== el &&
2424
!Dom.isDescendant(el, event.target) &&
2525
document.documentElement.contains(event.target)) {
26-
if (this.componentClickAway) this.componentClickAway();
26+
if (this.componentClickAway) this.componentClickAway(event);
2727
}
2828
},
2929

0 commit comments

Comments
 (0)