I have a menu scripted with jQuery, which pops out when triggered by an event. It has a vertical scroll bar on the side. The scrolling works fine in FireFox, but not in IE (8 or 9). I guess it has something to do with the mousedown
event, which is needed to select an item from the menu.
.mousedown(function (event) {
var li = get_element_from_event(event, "li");
if(li){
return false;
}
In case of IE, when clicking with the mouse on the scrollbar, the menu collapses again (as if the user made a selection).
Is this a common problem in IE (i.e. issues with the scrollbar)?
I think it also has to do with the following snippet of scrollbar code
$(".token-input-list")[0].scrollTop = $(".token-input-list")[0].scrollHeight;
Thanks for your input - I found quite a bit of buggyness on the scrollbar issue, so I solved it by inlcuding a nice list script found here: http://rascarlito.free.fr/hoverscroll/. Dit the trick for IE, and thus for me ;)