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

Partial fix for #2015 (Bottom panels get messed up if resized to max height)#2223

Merged
redmunds merged 1 commit into
masterfrom
pflynn/huge-panels-fix
Nov 27, 2012
Merged

Partial fix for #2015 (Bottom panels get messed up if resized to max height)#2223
redmunds merged 1 commit into
masterfrom
pflynn/huge-panels-fix

Conversation

@peterflynn
Copy link
Copy Markdown
Member

Partial fix for #2015 -- fixes the originally reported bug, but not several related issues that are listed lower down in the bug thread.

About this fix:
When panel size > the available area (which can happen several ways, including a bug in Resizer that allows drags to overshoot the max size that would fit), we were computing a negative size for the #editor-holder. This was a problem because jQuery no-ops on negative sizes; clipping to 0 gives much better results.
#2015 should remain open to track the other panel-oversize-related bugs mentioned there.

…height).

When panel size > the available area (which can happen several ways,
including a bug in Resizer that allows drags to overshoot the max size that
would fit), we were computing a negative size for the #editor-holder. This
was a problem because jQuery no-ops on negative sizes; clipping to 0 gives
much better results.

#2015 should remain open to track the other panel-oversize-related bugs
mentioned there.
@peterflynn
Copy link
Copy Markdown
Member Author

@gruehle or @njx -- either of you guys have time to review?

@ghost ghost assigned redmunds Nov 27, 2012
@redmunds
Copy link
Copy Markdown
Contributor

reviewing

@redmunds
Copy link
Copy Markdown
Contributor

Looks good. Merging.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants