Sencha Touch and Clusterize.js, passing events with scroll down

I'm trying to get a very large list for scrolling and use Clusterize.js, but Sencha seems to capture scroll events and not skip them.

Clusterize.js URL: http://nexts.imtqy.com/Clusterize.js/

I started a fiddle that shows a simple list and its performance, I'm working on implementing Clusterize ...: http://jsfiddle.net/AnthonyV/9hds0has/

Note. I need this to work and work well in IE for weaker mobile tablets.

I do not want to enable the scroller in the HTML panel, because it will just get in the way.

I tried turning on the scroller and then adding listeners to push events down and turn off distribution, but that didn't work.

{
    direction:'vertical',
    scroller: {
        listeners:{
            scrollstart:function(a,b,c){
                // stop the scroller an pass on the event;
                return false;

            },
            scroll:function(a,b,c){
                // stop the scroller an pass on the event;
                console.log('[scrollable][on scroll]');
                return false;

            },
            scrollend:function( scroller, x, y, eOpts ){
                // stop the scroller an pass on the event;
                console.log('[scrollable][on scrollend]x='+x+', y='+y);
                return false;
            }
        }
    }
}

relayEvent relayEvents, , , push- ext.

+4
1

DONT!

Clusterize.js - , Sencha. , Sencha Touch 2.4.2

, , . StackOverFlow: Sencha Touch -

+2

Source: https://habr.com/ru/post/1617781/


All Articles