rstacruz / jquery.transit

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

Clearing completed transitions not working on Samsung Galaxy Note II #133

Open Addeventure opened 11 years ago

Addeventure commented 11 years ago

The current implementation uses this line to reset a completed transition:

this.style[support.transition] = (oldTransitions[this] || null);

On Samsung Galaxy Note II, this does not remove the transition. Changing it to the following works for me:

this.style[support.transition] = (oldTransitions[this] || 'none');

I am not sure if there are more devices/browsers that are affected by this but I will try to reproduce the bug with more samsung phones as soon as I get my hands on them.