gd-bs 6.9.6 → 6.9.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/bs.js +1 -1
- package/build/components/dropdown/index.js +7 -0
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/index.html +3 -2
- package/package.json +1 -1
- package/src/components/dropdown/index.ts +8 -0
- package/src/styles/_custom.scss +1 -1
|
@@ -559,6 +559,13 @@ var _Dropdown = /** @class */ (function (_super) {
|
|
|
559
559
|
multi: this.props.multi,
|
|
560
560
|
value: this.generateCheckboxValue(this.props.value),
|
|
561
561
|
onChange: this.props.onChange ? function (selectedItems, allItems, ev) {
|
|
562
|
+
// See if this is a multi checkbox
|
|
563
|
+
if (_this.props.multi) {
|
|
564
|
+
// Toggle the menu if it's not visible
|
|
565
|
+
setTimeout(function () {
|
|
566
|
+
_this.isVisible ? null : _this.toggle();
|
|
567
|
+
}, 25);
|
|
568
|
+
}
|
|
562
569
|
// Pass the current values
|
|
563
570
|
_this.props.onChange(selectedItems, ev);
|
|
564
571
|
} : null
|