autocomplete, MSIE 7, document.body.style.maxHeight
In the Autocomplete plugin, this is code like this:
-
show: ...
if (options.scroll) {
...
if($.browser.msie && typeof document.body.style.maxHeight === "undefined") {
...
I'm using IE7, and in some cases my suggestion list is not being limited by the scrollHeight option. I've put an alert statement before the second if statement, and typeof document.body.style.maxHeight is "string" and it has length 0.
If I change the second if statement to:
-
if ($.browser.msie && document.body.style.maxHeight == "") {
...
then my suggestion lists are limited by the scrollHeight option.
Just wanted to bring this up in case anyone else has this problem.