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

Remove inline height from .ui-panel-dismiss on _closePanel #7308

Closed
wants to merge 2 commits into from
Closed

Conversation

devben
Copy link
Contributor

@devben devben commented Apr 10, 2014

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.

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.
@arschmitz
Copy link
Contributor

@devben Thanks for this PR can you please take a moment and sign our CLA http://contribute.jquery.org/CLA/ once that is done i will be happy to take a look at this.

@gabrielschulhof
Copy link

This PR needs testing and an issue that it fixes.

@devben
Copy link
Contributor Author

devben commented Apr 11, 2014

You can see this issue here http://jsfiddle.net/3JzuP/

@gabrielschulhof
Copy link

@devben Right, sorry, and thanks for the link :) I meant that we need to open a new issue and then modify the commit message to say that it fixes the issue. I'll do these things - don't worry about it.

@@ -397,7 +397,8 @@ $.widget( "mobile.panel", {
}

if ( self._modal ) {
self._modal.removeClass( self._modalOpenClasses );
self._modal.removeClass( self._modalOpenClasses )
.height("");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need spaces inside parentheses

gabrielschulhof pushed a commit that referenced this pull request Apr 11, 2014
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
Fixes gh-7312
gabrielschulhof pushed a commit that referenced this pull request Apr 11, 2014
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
gabrielschulhof pushed a commit that referenced this pull request Apr 11, 2014
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.

(cherry picked from commit 6201c90)

Closes gh-7308
Closes gh-7313
Fixes gh-7312
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants