rstacruz/jquery.transit — Issue #14: Clean up transitions after executing them, or ???
Author: ppcano
Created: 2012-01-24 11:57:18+00:00
State: open

Hi, i would like to discuss this feature.

I am currently using jquery.transit.js for a [Mobile UI Kit project](https://github.com/ppcano/ember-mk/), so i am testing it on different ways.

I found some time on the code passing the following **cleanUP** properties:

```javascript
properties['-webkit-transform-style']='';
properties['-webkit-transition-property']='';
properties['-webkit-transition-duration']='';
properties['-webkit-transition-timing-function']='';
properties['-webkit-transition-delay']='';
properties['-webkit-transform']='';
```

That is required if after applying a transition ( $().transition(properties, duration, easing)) i do a $().css(properties), targeting the same css properties.

What it happens with the current implementation is that the second css changes, triggers the transition ( something i don't want that ), i guess, because the transition properties are still present on the element. I also tried to send duration 0, but i also find out it didn't respond as expected.

I did not get deeper in the code, because i wanted to get the maintainer opinions.

Looking forward hearing new about this issue.

Thanks and regards.