Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Calendar broke with latest release of Chrome (43.0.2357.81) #38

Open
bartspedden opened this issue Jun 8, 2015 · 1 comment
Open

Calendar broke with latest release of Chrome (43.0.2357.81) #38

bartspedden opened this issue Jun 8, 2015 · 1 comment

Comments

@bartspedden
Copy link

On an existing app (2+ years old), using Sencha Touch 2.4.1 and the current version of TouchCalendar as per the download link on swarmonline.com the calendar is no longer working. Instead of June coming up, I am seeing May. And when I try to move forward one month it jumps to August instead of June. This works just fine on safari.

@bartspedden
Copy link
Author

There's a known defect in Sencah Touch that's causing this problem (TOUCH-5716).

To resolve this I added the following code to my application launch() function.


if (Ext.browser.is.WebKit) {
            console.info(this.$className + ': Fix a Sencha Touch Bug (TOUCH-5716 / Scrolling Issues in Google Chrome v43+)');

            Ext.override(Ext.util.SizeMonitor, {
                constructor: function (config) {
                    var namespace = Ext.util.sizemonitor;
                    return new namespace.Scroll(config);
                }
            });

            Ext.override(Ext.util.PaintMonitor, {
                constructor: function (config) {
                    return new Ext.util.paintmonitor.CssAnimation(config);
                }
            });
        }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant