Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha Premium User
Scroller issue with Sony Experia Z running Android 4.1.2
The Sony Experia uses the Chrome for Android browser, which has issues with scrolling.
There has been a workaround posted for ST 2.1
We need one for ST 1.1 - as we have clients with these devices screaming ...
Yes... I know we need to move to ST2 but we don't have the spare 20-30 man months needed to convert all our code in the short term and this App already owes us about $200k !!
Mitchell ... would you mind showing me how to emulate this override in ST 1 please.
Here is the override for ST 2.1
Forum post = http://www.sencha.com/forum/showthre...ncha-touch-2.1
Code:
Ext.define('overrides.Ext.util.Translatable', { override: 'Ext.util.Translatable',
requires: [ 'Ext.util.translatable.CssTransform',
'Ext.util.translatable.ScrollPosition' ],
constructor: function (config) {
var namespace = Ext.util.translatable,
CssTransform = namespace.CssTransform,
ScrollPosition = namespace.ScrollPosition,
classReference;
if (typeof config == 'object' && 'translationMethod' in config) {
if (config.translationMethod === 'scrollposition') {
classReference = ScrollPosition;
}
else if (config.translationMethod === 'csstransform') {
classReference = CssTransform;
}
}
if (!classReference) {
if (Ext.os.is.Android2) {
classReference = ScrollPosition;
}
else
{ classReference = CssTransform;
}
} return new classReference(config); } });
-
The scroller between ST1 and ST2 doesn't work the same so backporting this override isn't really feasible. As for this bug report, development has moved to ST2.
-
Sencha Premium User
Mitchell.
Apologies for posting it as a bug... I fully understand that we should have moved to ST2 but that is a huge job with the amount of code in this project.
I was really asking if there is some way of achieving the same outcome in a ST 1 override.
Thanks