diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index aebfc3f92..afefb2759 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,10 @@ ## RELEASE NOTES +### Version 2.1.6 - Nov 6, 2015 + +**Bug Fixes** +- **Checkbox/Dropdown/Search** - Fixed issue where dropdown/checkbox `change` events were not bubbling. (Dispatched events were swapped to use native `document.creatEvent` in `2.1.5` unfortunately the flag to bubble events was mistakenly off.) + ### Version 2.1.5 - Nov 1, 2015 **Docs Enhancements** diff --git a/package.json b/package.json index 4f7975a83..b18ab866d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "semantic-ui", - "version": "2.1.5", + "version": "2.1.6", "title": "Semantic UI", "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", "homepage": "http://www.semantic-ui.com", diff --git a/src/definitions/modules/checkbox.js b/src/definitions/modules/checkbox.js index 2ab47f7c6..97ff3c5da 100644 --- a/src/definitions/modules/checkbox.js +++ b/src/definitions/modules/checkbox.js @@ -508,7 +508,7 @@ $.fn.checkbox = function(parameters) { ; if(inputElement) { module.verbose('Triggering native change event'); - events.initEvent('change', false, true); + events.initEvent('change', true, false); inputElement.dispatchEvent(events); } } diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 80a7dae0e..be153d30e 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1311,7 +1311,7 @@ $.fn.dropdown = function(parameters) { ; if(inputElement) { module.verbose('Triggering native change event'); - events.initEvent('change', false, true); + events.initEvent('change', true, false); inputElement.dispatchEvent(events); } } diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index ad89cd7f5..07963b1ea 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -317,7 +317,7 @@ $.fn.search = function(parameters) { ; if(promptElement) { module.verbose('Triggering native blur event'); - events.initEvent('blur', false, true); + events.initEvent('blur', false, false); promptElement.dispatchEvent(events); } }