Skip to main content

Search and Top Navigation

#7416 closed bug (notabug)

Opened May 23, 2011 10:37PM UTC

Closed May 25, 2011 08:06PM UTC

dialog with height = auto does not size properly in IE8

Reported by: bhardy Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.13
Keywords: Cc:
Blocked by: Blocking:
Description

I have seen some other comments about this relative to maxHeight, but I am just trying to get the dialog to not have scroll bars without having to define the height.

This only seems to be a problem in IE8. It is working fine in Chrome and FireFox 4.

Basically what I have found is that when I use the jquery-ui version 1.7.2, everything is working fine. But if I switch to using jquery-ui version 1.8.5 (or 13) I must have a <!DOCTYPE html> set on my page or else the dialog does not properly adjust its height to the dynamic content window and I get scroll bars. My example has 2 modes, one that sets the HTML in the div before loading the dialog, and one that sets it afterwards. Both break, one more than the other. Both work if you set the doctype or switch back to 1.7.2.

http://jsbin.com/enima3/2

Not exactly sure how saving those works but that is the link it gives me.

Attachments (0)
Change History (1)

Changed May 25, 2011 08:06PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

jQuery and jQuery UI don't support quirksmode.