3.0 beta 2

Combo Box Popup Scroll Bar

Is there anything I can do to make the scroll bar shown in the popup of a combo box function correctly? When I click on the sider and move my mouse nothing happens. It should scroll the popup accordingly, but it does not. It only scrolls when I use the up/down arrows or click on the scroll bar in the space where the slider is not present.

Can anyone confirm this?? Can anyone tell me if this can be fixed?

Thanks.
Aaron Todd
November 30,
:-(

Yes, I can reproduce this. Look like a critical bug. I don't have a fix yet but I will make one ASAP.
Alex (ActiveWidgets)
December 3,
Here is a fix for a combo popup scrollbar problem in AW 2.5 -

(function(){

    function fixPopup(cls){

        new cls;
        var obj = cls.prototype;
        var showPopup = obj.showPopup;
        var hidePopup = obj.hidePopup;

        function cancel(event){
            event.cancelBubble = true;
        }

        obj.showPopup = function(){
            showPopup.call(this);
            this.$popup.document.body.attachEvent("onbeforedeactivate", cancel);
        }

        obj.hidePopup = function(){
            if (this.$popup) {
                this.$popup.document.body.detachEvent("onbeforedeactivate", cancel);
            }
            hidePopup.call(this);
        }
    }

    if (AW.ie) {
        fixPopup(AW.Templates.Popup);
        fixPopup(AW.UI.Combo);
    }
})();


Add this code either to the end of aw.js file or directly into your page before you create any of AW objects.
Alex (ActiveWidgets)
December 4,
Alex,

Your fix works great. Thanks for getting this done so quickly!!
Aaron Todd
December 4,
fixed in AW 2.5.1
Alex (ActiveWidgets)
December 11,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.