|
1 | 1 | ## RELEASE NOTES |
2 | 2 |
|
3 | | -### Version 2.2.12 - Aug 06, 2017 |
| 3 | +### Version 2.2.12 - Aug 07, 2017 |
4 | 4 |
|
5 | 5 | **Major Enhancements** (1) |
6 | | -- **Dropdown** - Dropdown can now have `values` specified in javascript when initializing. See some [examples here](https://jsfiddle.net/Lb7c5dkz/). This makes it much easier to modify values of a dropdown after initializing. For example, when the dropdown options are affected by another field. |
| 6 | +- **Dropdown** - Dropdown can now have `values` specified in javascript when initializing.This should simplify cases where dropdown contents are contingent on other fields, for example listing sub categories. You can see some [examples here](https://jsfiddle.net/Lb7c5dkz/). An example has also been added to the usage tab. |
7 | 7 |
|
8 | | -**Critical Bugs** (1) |
9 | | -- **Dropdown** - Fixed regression that caused `dropdown` inside menu to appear on left edge of dropdown in `2.2.11` #5542 |
| 8 | +**Critical Bugs** (3) |
| 9 | +- **Dropdown** - Fixed regression that caused sub menu `dropdown` inside `ui menu` to always appear on left edge of dropdown introduced `2.2.11` [#5542](https://github.com/Semantic-Org/Semantic-UI/issues/5542) |
10 | 10 | - **Build Tools** - Fixes issue with deprecated uglify setting that could cause build tools to fail |
| 11 | +- **Popup** - Fixed a regression with `popup` in `2.2.11` that caused popups to appear out of place in some cases due to incorrect calculation of `offsetParent` [#5549](https://github.com/Semantic-Org/Semantic-UI/issues/5549) [#5597](https://github.com/Semantic-Org/Semantic-UI/issues/5597) [#5590](https://github.com/Semantic-Org/Semantic-UI/issues/5590) |
11 | 12 |
|
12 | 13 | ```bash |
13 | 14 | GulpUglifyError: unable to minify JavaScript |
14 | 15 | Caused by: DefaultsError: `preserveComments` is not a supported option |
15 | 16 | ``` |
16 | 17 |
|
17 | | -**Bugs** (1) |
18 | | -- **Dropdown** - Fixed an issue where css rule for `focused default text` was not being applied for multiselects #5633 |
19 | | -- **Header** - Fixes vertical alignment |
20 | | -- **Header/List* -- Fixes issue where icons appear slightly offset with text due to line-height offset fixes no longer being necessary in modern browsers. |
21 | | -- **Modal** - Fixes issue where init order matters when multiple modals are shown at same time and `allowMultiple: true` is used #5559 |
| 18 | +**Enhancements** (2) |
| 19 | +- **Dropdown** - Dropdown mutation observers now watch to see if the entire `<select>` DOM node is replaced with a different select, and not just if new `<option>` are added |
| 20 | +- **Modal** - Modal will now take into account absolutely positioned elements inside a modal when determining if scrolling is necessary. [#5578](https://github.com/Semantic-Org/Semantic-UI/issues/5578) **Thanks @lulalala** |
22 | 21 |
|
23 | | -**Enhancements** |
24 | | -- **Modal** - Modal will now take into account absolutely positioned elements inside a modal when determining if scrolling is necessary. #5578 **Thanks @lulalala** |
25 | | -- **Dropdown** - Calling dropdown methods on a `<select>` turned into a dropdown will now automatically pass settings to the initialized dropdown, #3744 |
| 22 | +**Bugs** (4) |
| 23 | +- **Dropdown** - Fixed an issue where css rule for `focused default text` was not being applied for multiselects [#5633](https://github.com/Semantic-Org/Semantic-UI/issues/5633) |
| 24 | +- **Dropdown** - Calling dropdown methods on `<select>` will now work when using `setting` behavior to set settings after load [#3744](https://github.com/Semantic-Org/Semantic-UI/issues/3744) |
| 25 | +- **Header** - Fixes vertical alignment |
| 26 | +- **Header/List** - Fixes issue where icons appear slightly offset with text due to line-height offset fixes no longer being necessary in modern browsers. |
| 27 | +- **Modal** - Fixes issue where init order matters when multiple modals are shown at same time and `allowMultiple: true` is used [#5559](https://github.com/Semantic-Org/Semantic-UI/issues/5559) |
26 | 28 |
|
27 | | -```javascript |
28 | | -$('select').dropdown(); |
29 | | -// somewhere later |
30 | | -$('select').dropdown('onChange', function(value) { console.log(value) }); |
31 | | -``` |
32 | 29 |
|
33 | 30 | ### Version 2.2.11 - July 11, 2017 |
34 | 31 |
|
|
0 commit comments