Hi, this one enable the native scrolling in current sencha 2 beta, but I can not guarantee that it is performant... i do not testet it in production...

if someone can pimp this, let me know!

best regards


PHP Code:
// Native scrolling in Browser
        
document.addEventListener('mousewheel', function(e){
            var 
el e.target;
            var 
offsetscroller_results;
            
_results = [];
            while (
el !== document.body) {
                if (
el && el.className && el.className.indexOf('x-container') >= 0) {
                    var 
cmp Ext.getCmp(el.id);
                    if (
cmp && typeof cmp.getScrollable == 'function' && cmp.getScrollable()){
                        var 
scroller cmp.getScrollable().getScroller();
                        if (
scroller) {
                            var 
offset = {x:0y: -e.wheelDelta*0.5};
                            
scroller.fireEvent('scrollstart'scrollerscroller.position.xscroller.position.ye);
                            
scroller.scrollBy(offset.xoffset.y);
                            
scroller.snapToBoundary();
                            
scroller.fireEvent('scrollend'scrollerscroller.position.xscroller.position.y-offset.y);
                            break;
                        }
                    }
                }
                
_results.push(el el.parentNode);
            }
            return 
_results;
        }, 
false);