diff --git a/core/modules/outside_in/js/offcanvas.js b/core/modules/outside_in/js/offcanvas.js index 7422274..ffcb5e8 100644 --- a/core/modules/outside_in/js/offcanvas.js +++ b/core/modules/outside_in/js/offcanvas.js @@ -122,7 +122,7 @@ settings.dialogClass = 'ui-dialog-offcanvas'; // Applies initial height to dialog based on window height. // See http://api.jqueryui.com/dialog for all dialog options. - settings.dialogOptions.height = $(this).height(); + settings.height = $(window).height(); } }, 'dialog:beforeclose': function (event, dialog, $element) {