Skip to content

Fixes #4995 - Modal Dialog's overlay dissapears in IE when content is tall #91

Closed
MisterSativa wants to merge 2 commits into
jquery:masterfrom
MisterSativa:master
Closed

Fixes #4995 - Modal Dialog's overlay dissapears in IE when content is tall #91
MisterSativa wants to merge 2 commits into
jquery:masterfrom
MisterSativa:master

Conversation

@MisterSativa
Copy link
Copy Markdown

Hi jQuery Core Commiters,

I made my first bug fix for the jQuery Framework (Ticket #4995). This bug dissapeared in all browser, not only IE like described.

The Problem was, that the modal overlay was displayed before the dialog with the height of the document. When the dialog was higher than the document height, before the dialog has been shown, the dialog increased the height of the document. And so the height of the modal overlay was too short.

I've added a if statement, which checks whether the dialog is higher than the document and take the higher value.

I've tested it in Google Chrome 9, IE 8, FF 3.6, FF 4.0 Beta, Safari 5.0 and Opera 11.0

Regards Jo

PS: please let me know, if you contented with my work

…e document and take the higher value. Fixes #4995 - Modal Dialog's overlay dissapears in IE when content is tall
… - Modal Dialog's overlay dissapears in IE when content is tall
@MisterSativa
Copy link
Copy Markdown
Author

I reviewed and edited it with Scott advices

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants