Opened 12 years ago

Closed 12 years ago

#7416 closed bug (notabug)

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.

Change History (1)

comment:1 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed

jQuery and jQuery UI don't support quirksmode.

Note: See TracTickets for help on using tickets.