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 ## 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 ### Version 1.6.0 - January 05, 2015
**Build** **Build**

2
package.json

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

19
src/definitions/modules/accordion.js

@ -161,6 +161,7 @@ $.fn.accordion = function(parameters) {
.children() .children()
.transition({ .transition({
animation : 'fade in', animation : 'fade in',
useFailSafe : true,
debug : settings.debug, debug : settings.debug,
verbose : settings.verbose, verbose : settings.verbose,
duration : settings.duration duration : settings.duration
@ -215,10 +216,11 @@ $.fn.accordion = function(parameters) {
$activeContent $activeContent
.children() .children()
.transition({ .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 $openContents
.children() .children()
.transition({ .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