ui.dialog issue with IE6 (1.6rc4 / jQuery 1.2.6)
I've been building an application using the various ui plugins and
came across an odd bug in IE6 when trying to put tall content inside a
dialog window. Around line 465 of ui.dialog this code block causes IE6
to throw an error if the dialog content exceeds a certain height:
this.element
.css({
minHeight: options.minHeight - nonContentHeight,
height: options.height == 'auto'
? 'auto'
: options.height - nonContentHeight
});
The code can safely be hidden from IE6, which will simply expand the
modal window in any case to fit the content, but it disables the
ability to set the height of the modal window. Instead you can set the
height with css, or leave it to auto expand.
I'm not sure if this issue is particular to my CSS set up, but perhaps
this might others who would otherwise be tearing their hair out in
frustration.