Results 1 to 2 of 2

Thread: Cant pass animation object to Component#show

    This issue has been fixed for the next release!
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Location
    Seattle, WA
    Posts
    137
    Vote Rating
    1
      0  

    Default Cant pass animation object to Component#show

    If you pass in an animation config, it'll still try and get the showAnimation config. You probably want something like this as a patch to Component.js

    Code:
    @@ -1690,7 +1690,7 @@ Ext.define('Ext.Component', {
         show: function(animation) {
             var hidden = this.getHidden();
             if (hidden || hidden === null) {
    -            if (animation !== true && (animation === undefined || (animation && !animation.isComponent))) {
    +            if (animation !== true && (animation === undefined || (animation && animation.isComponent))) {
                     animation = this.getShowAnimation();
                 }

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Vote Rating
    1391
      0  

    Default

    This has already been resolved for 2.0.1
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

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

Posting Permissions

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