Browse Source

Use slightly more performant triggerHandler, fix RLSNOTES

pull/2300/head
jlukic 10 years ago
parent
commit
747fe4bef8
2 changed files with 4 additions and 3 deletions
  1. 1
      RELEASE-NOTES.md
  2. 6
      src/definitions/modules/transition.js

1
RELEASE-NOTES.md

@ -104,6 +104,7 @@
- **All Modules** - Performance logging now delays 500ms instead of 100ms for console logging to ensure all logs are captured in one group
- **All Modules/Transition** - Transitions no longer use `rotateZ(0deg)` to trigger GPU display of visible state. This causes issues with `transform` creating new stacking context that can disrupt `z-index`.
- **Accordion** - Fixed bug where `exclusive: true` could sometimes cause other accordion element animations to get stuck when animating rapidly
- **API** - API longer uses `readyState = 0` as sole check for request abort, this may accidentally trigger with `JSONP` or `CORS` requests.
- **Card** - IE11 now can correctly use `flexbox` cards **THanks @Widcket**
- **Checkbox** - Fix `disabled checkbox` sometimes displaying hand cursor
- **Checkbox** - Fixes nested `dropdown` inside `checkbox` causing issues

6
src/definitions/modules/transition.js

@ -404,7 +404,7 @@ $.fn.transition = function() {
duration = module.get.duration()
;
module.timer = setTimeout(function() {
$module.trigger(animationEnd);
$module.triggerHandler(animationEnd);
}, duration + settings.failSafeDelay);
module.verbose('Adding fail safe timer', module.timer);
}
@ -736,13 +736,13 @@ $.fn.transition = function() {
stop: function() {
module.debug('Stopping current animation');
$module.trigger(animationEnd);
$module.triggerHandler(animationEnd);
},
stopAll: function() {
module.debug('Stopping all animation');
module.remove.queueCallback();
$module.trigger(animationEnd);
$module.triggerHandler(animationEnd);
},
clear: {

Loading…
Cancel
Save