Results 1 to 3 of 3

Thread: Ext.fx.layout.Card ChromeMobile

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    17

    Default Ext.fx.layout.Card ChromeMobile

    Hi,

    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)
    Code:
    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.

    Thanks

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,449

    Default

    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.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Fullstack Engineer
    ________________
    Modus Create is based on the model of an open source team. We’re a remote, global team of experts in our field. To find out more about the work we do, head over to our website.

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    17

    Default

    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!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •