Browse Source

Fix accordion transition in webkit to use useFailSafe

pull/1574/head
jlukic 10 years ago
parent
commit
71d8659758
3 changed files with 17 additions and 9 deletions
  1. 5
      RELEASE-NOTES.md
  2. 2
      package.json
  3. 19
      src/definitions/modules/accordion.js

5
RELEASE-NOTES.md

@ -1,5 +1,10 @@
## RELEASE NOTES
### Version 1.6.1 - January 05, 2015
**Bugs**
- **Accordion** - Accordion now uses ``useFailSafe: true`` to avoid callbacks not occurring because of race conditions with `transitionend` in webkit
### Version 1.6.0 - January 05, 2015
**Build**

2
package.json

@ -1,6 +1,6 @@
{
"name": "semantic-ui",
"version": "1.6.0",
"version": "1.6.1",
"title": "Semantic UI",
"description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.",
"homepage": "http://www.semantic-ui.com",

19
src/definitions/modules/accordion.js

@ -161,6 +161,7 @@ $.fn.accordion = function(parameters) {
.children()
.transition({
animation : 'fade in',
useFailSafe : true,
debug : settings.debug,
verbose : settings.verbose,
duration : settings.duration
@ -215,10 +216,11 @@ $.fn.accordion = function(parameters) {
$activeContent
.children()
.transition({
animation : 'fade out',
debug : settings.debug,
verbose : settings.verbose,
duration : settings.duration
animation : 'fade out',
useFailSafe : true,
debug : settings.debug,
verbose : settings.verbose,
duration : settings.duration
})
;
}
@ -276,10 +278,11 @@ $.fn.accordion = function(parameters) {
$openContents
.children()
.transition({
animation : 'fade out',
debug : settings.debug,
verbose : settings.verbose,
duration : settings.duration
animation : 'fade out',
useFailSafe : true,
debug : settings.debug,
verbose : settings.verbose,
duration : settings.duration
})
;
}

Loading…
Cancel
Save