Improve the card details pane overlay interactions

This commit is contained in:
Maxime Quandalle 2015-06-06 12:07:52 +02:00
parent 5cd0ec08aa
commit 49167ccaa9
4 changed files with 13 additions and 8 deletions

View file

@ -119,6 +119,16 @@ BlazeComponent.extendComponent({
var sidebar = this.componentChildren('sidebar')[0];
if (sidebar && sidebar.isOpen())
return 'next-sidebar';
},
events: function() {
return [{
// XXX The board-overlay div should probably be moved to the parent
// component.
'mouseenter .board-overlay': function() {
this.showOverlay.set(false);
}
}];
}
}).register('boardComponent');