Skip to content

queue property did not work as expected#13

Merged
rstacruz merged 1 commit intorstacruz:masterfrom
ppcano:fix_queue
Jan 24, 2012
Merged

queue property did not work as expected#13
rstacruz merged 1 commit intorstacruz:masterfrom
ppcano:fix_queue

Conversation

@ppcano
Copy link
Contributor

@ppcano ppcano commented Jan 20, 2012

I wanted to use queue property and this was never applied correctly.

I required to avoid using the queue, because the following case did not work as expected.

          //////// First Transtion
          var transition = ( isHorizontal ) ?  {rotateY: rotate}:{rotateX: rotate};
          me.$().transition(transition, duration, easing);

         /// Clean up properties
         var css = {
            '-webkit-transform-style':''
            , '-webkit-transition-property': ''
            , '-webkit-transition-duration': ''
            , '-webkit-transition-timing-function': ''
            , '-webkit-transition-delay': ''
            , '-webkit-transform': ''
          };          
          me.$().css(css);

          ////// Second transition won't work without queue property set to false
          var transition = ( isHorizontal ) ?  {rotateY: rotate, queue: false}:{rotateX: rotate, queue: false};
          me.$().transition(transition, duration, easing);

rstacruz added a commit that referenced this pull request Jan 24, 2012
queue property did not work as expected
@rstacruz rstacruz merged commit 34301d2 into rstacruz:master Jan 24, 2012
@rstacruz
Copy link
Owner

Let me fix this for the other properties as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants