Major Enhancements (1)
- 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 and in the usage section of dropdown docs
Critical Bugs (3)
- Dropdown - Fixed regression that caused sub menu
dropdown
insideui menu
to always appear on left edge of dropdown introduced2.2.11
#5542 - Popup - Fixed a regression with
popup
in2.2.11
that caused popups to appear out of place in some cases due to incorrect calculation ofoffsetParent
#5549 #5597 #5590 - Build Tools - Fixes issue with deprecated uglify setting that could cause build tools to fail with the following error:
GulpUglifyError: unable to minify JavaScript
Caused by: DefaultsError: `preserveComments` is not a supported option
Enhancements (2)
- 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 - Modal - Modal will now take into account absolutely positioned elements inside a modal when determining if scrolling is necessary. #5578 Thanks @lulalala
Bugs (4)
- Dropdown - Fixed an issue where css rule for
focused default text
was not being applied for multiselects #5633 - Dropdown - Calling dropdown methods on
<select>
will now work when usingsetting
behavior to set settings after load #3744 - Header - Fixes vertical alignment
- Header/List - Fixes issue where icons appear slightly offset with text due to line-height offset fixes no longer being necessary in modern browsers.
- Modal - Fixes issue where init order matters when multiple modals are shown at same time and
allowMultiple: true
is used #5559