rstacruz / jquery.transit

Super-smooth CSS3 transformations and transitions for jQuery
http://ricostacruz.com/jquery.transit
7.3k stars 864 forks source link

'Queue: false' breaks defined duration #153

Open jjeff opened 10 years ago

jjeff commented 10 years ago

Here's another bug:

Whether the duration is defined within the options or as a separate argument, adding queue: false to transition option object will cause the defined duration to be ignored and the default duration (400?) to be used.

Some tests to illustrate:

    test('Queue breaks duration', function($box){
      $box
        .transition({
          perspective: 50,
          rotateX: '+=180deg',
          queue: false,    // false makes duration ignored
          duration: 10000  // really slow!
        })
    });

same as

    test('Queue breaks duration', function($box){
      $box
        .transition({
          perspective: 50,
          rotateX: '+=180deg',
          queue: false    // false makes duration ignored
        }, 10000)         // duration defined as argument
    });
pingram3541 commented 10 years ago

I'm not even getting the default...it appears to remove the duration entirely

Kris-B commented 10 years ago

Hey @rstacruz! Really nice plugin, but this is still an issue in v0.9.11. In my case, setting queue to false will not animate at all (or maybe duration 0 is used...). Is there any chance to get a fix for this?