diff --git a/layout.js b/layout.js index 24a8249..f0f546f 100644 --- a/layout.js +++ b/layout.js @@ -363,7 +363,9 @@ BlazeUIManager = function (router) { BlazeUIManager.prototype = { render: function (props, parentComponent) { - this._component = UI.render(Layout.extend(props || {}), parentComponent || UI.body); + // Layout extending UI.body to get into the lookup chain for events + var bodyLayout = UI.body.extend(Layout); + this._component = UI.render(bodyLayout.extend(props || {}), parentComponent || UI.body); return this._component; },