View Full Version : Ext.fx.layout.Card ChromeMobile

26 Dec 2012, 12:58 PM

i was wondering, why is Ext.fx.layout.Card forced to type = "scroll" on ChromeMobile?

I removed the following condition in Ext.fx.layout.Card`s Constructor (ST 2.1)

else if (type === 'slide' && Ext.browser.is.ChromeMobile) {
type = 'scroll';

and there seems to be no issue with ChromeMobile on my Samsung Galaxy S2 (Android 4.0.4, latest Chrome from Google Play).

It would be nice to use animations on Chrome, especially for the NavigationView which uses Card Layout and Card FX by default.


28 Dec 2012, 7:27 AM
Chrome has had bugs so to support every version of Chrome the anims may have to be disabled. Also, I wouldn't edit a ST class, would make it hard to upgrade to a newer ST version, instead override the method.

28 Dec 2012, 9:26 AM
Thank you for your reply Mitchel.
I will put my changes in a separate override Class if i use it for production of course.
But can you tell which Versions of ChromeMobile had this bugs you mentioned?
So i could disable the animations only until a specific Version as there are definitly no problems with the current iOS and Android Versions anymore.
Thanks in advance!