gdsmith / jquery.easing

jQuery Easing Plugin
http://gsgd.co.uk/sandbox/jquery/easing
Other
922 stars 422 forks source link

BUG with new version of jquery easing #26

Closed batata004 closed 6 years ago

batata004 commented 7 years ago

Hi,

I am updating some of my plugin but some weird bug is happening with jquery easing. Using the old version (1.3) the problem does not happen, using the new version the problem happens.

Both codes below are absolutely exactly the same. Nothing is different except the version of jquery easing.

https://quemfazsite.com.br/temp/teste-old-easing.php https://quemfazsite.com.br/temp/teste-new-easing.php

Open the first link (old) and click GO1 and GO2. You will see an animation in the background color. When you open the second link and click in GO1 and GO2 you will see the animation works strangely, a black background appears in the element.

The strangest thing here is that I am not even using EASING in this page! The animation is being done with the default, LINEAR but no other fancy easing is being used and even so jquery easing messes with the animation.

Can we expect a solution soon?

gdsmith commented 7 years ago

Hi @batata004 it looks like your using an older version of jQuery, so for that version you should definitely be using the older version of jquery.easing plugin. Can you try the same thing with the latest version of jQuery?

batata004 commented 7 years ago

My friend, I am using the latest version of jquery that belongs to 1.x.

I cant use 2.x nor 3.x cause I really need to have jquery compatible with the most browsers possible. If I use 2.x or 3x. as per specification many old browser were ignored.

But the 1.12.4 is the latest official jquery version to the 1.x branch, it gets all the cumulative updates that other versions do.

gdsmith commented 6 years ago

For pre2.x versions of jquery you will need to use the 1.3 version of the easing plugin.

dmethvin commented 6 years ago

The jQuery core default easing is "swing" not "linear". Note that the plugin does change the default easing behavior so that would explain why including it changes the behavior.