Results 1 to 3 of 3

Thread: Ext.toast showAnimation properties not applied

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2008
    Posts
    75

    Default Ext.toast showAnimation properties not applied

    Hello,

    There is a bug in the Toast component, the showAnimation is never used (Sencha Touch 2.4.2).

    Here is the test case :
    https://fiddle.sencha.com/#fiddle/18k7

    The Toast message should appear with a popIn effect by default.

    The problem comes from Ext.Component.show :

    Code:
    else if (animation === undefined || (animation && animation.isComponent)) {
          animation = this.getShowAnimation();
    }

    The "animation" var is referencing the Toast object config, and then it's never used to retrieve animation.


    My temporary solution was to add "isComponent: true" to the Toast config :
    https://fiddle.sencha.com/#fiddle/18k9


    Good luck!
    Pou.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha Premium User
    Join Date
    Oct 2016
    Posts
    24

    Default

    it's been more than 2 year since the BUG report and this is still affecting Ext Modern 6.x.x. Great Job.

    At least remote the option from the docs since it's not really usable/effective

Similar Threads

  1. Problem with showAnimation()
    By yerffej19 in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 3 Mar 2014, 10:35 PM
  2. hideAnimation and showAnimation
    By sunzhuoshi in forum Sencha Touch 2.x: Q&A
    Replies: 5
    Last Post: 21 Aug 2012, 8:38 PM
  3. showAnimation
    By miki wong in forum Sencha Architect 2.x: Help & Discussions
    Replies: 1
    Last Post: 25 Jul 2012, 9:28 AM
  4. [FIXED] Bugs with showAnimation:n {}
    By Olivierco in forum Sencha Touch 2.x: Bugs
    Replies: 6
    Last Post: 27 Mar 2012, 8:46 AM
  5. What is the right way of using showAnimation and hideAnimation ?
    By riahut.com in forum Sencha Touch 2.x: Q&A
    Replies: 3
    Last Post: 13 Mar 2012, 12:56 PM

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
  •