Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-2071

AUI toggler animation could be corrupted.

    Details

      Description

      If a toggler is in animation, changing status from expanded to collapsed, for example.

      And then at this time, if another action to collapse this toggler arrives, the toggler will be directly collapsed, not waiting for the previous collapse animation done.

      Please refer to the code below.

                  if (instance.get('animated') && (expand !== expanded)) {
                      if (instance.get('animating')) {
                          return expand;
                      }
      
                      instance._animation(expand, payload);
                  }
                  else {
                      instance.set('expanded', expand, payload);
                  }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maira.araujo Maíra Araujo (Inactive)
              Reporter:
              john.zhao John Zhao (Inactive)
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 50 weeks, 1 day ago

                  Packages

                  Version Package
                  2.0.x
                  master
                  master-deprecated
                  3.0.x
                  2.0.0.75-deprecated