PDA

View Full Version : [DUP] PullRefresh not working



jason.song
28 May 2015, 5:36 PM
Ext.plugin.PullRefresh cannot run, in line 84730 of debug.js, DomScroller has no method of setAutoRefresh. In modern lib.
------

initScrollable: function() {
var me = this,
list = me.getList(),
scroller = list.getScrollable();
if (!scroller) {
return;
}
scroller.setAutoRefresh(me.getScrollerAutoRefresh());
me.lastUpdated = new Date();
list.insert(0, me);
scroller.on({
scroll: me.onScrollChange,
scope: me
});
me.updateView();
},

mitchellsimoens
29 May 2015, 3:23 AM
This is a duplicate of https://www.sencha.com/forum/showthread.php?300737