PDA

View Full Version : New scroller jumps like crazy



Kask
28 Oct 2010, 12:45 AM
I have the following code...

I want to be able to scroll in this overlay to look att the two images.
Everything worked fine in 0.97, but with the new Scroller in 0.98 it gets bumpy to scroll.
Looks like its snapping back to some previous position ...

Am I doing it wrong or did the new Scroller hit production too soon??



Ext.setup({
onReady: function () {
var button = new Ext.Button({
text: 'Show Overlay',
handler: function (button, e) {
var panel = new Ext.Panel({
floatable: true,
fullscreen: true,
scroll: 'both',
html: '<div id="zoomImageContainer">' +
'<img id="zoomImageLeft" class="zoomImage" src="LargeImage1.jpg" />' +
'<img id="zoomImageRight" class="zoomImage" src="LargeImage2.jpg"/>' +
'</div>'
});
panel.show();
}
});

new Ext.Panel({
fullscreen: true,
items: [button]
});
}
});

Kask
28 Oct 2010, 7:24 AM
Posted this as a bug ...

http://www.sencha.com/forum/showthread.php?114003-New-scroller-in-0.98-is-crazy-jumping