Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit 6201c90

Browse files
devbenGabriel Schulhof
authored and
Gabriel Schulhof
committed
Panel: Remove inline height from .ui-panel-dismiss on _closePanel
Not removing the height from .ui-panel-dismiss breaks the layout if the page height is changed dynamically once the panel has open and closed once. Closes gh-7308 Closes gh-7313 Fixes gh-7312
1 parent f2c2128 commit 6201c90

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/widgets/panel.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,9 @@ $.widget( "mobile.panel", {
388388
}
389389

390390
if ( self._modal ) {
391-
self._modal.removeClass( self._modalOpenClasses );
391+
self._modal
392+
.removeClass( self._modalOpenClasses )
393+
.height( "" );
392394
}
393395
},
394396
complete = function() {

0 commit comments

Comments
 (0)