We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c2f35 commit c107918Copy full SHA for c107918
js/src/multi-select.js
@@ -733,6 +733,7 @@ class MultiSelect extends BaseComponent {
733
734
const optgroup = option.closest(SELECTOR_OPTGROUP)
735
if (optgroup) {
736
+ // eslint-disable-next-line unicorn/prefer-array-some
737
if (SelectorEngine.children(optgroup, SELECTOR_OPTION).filter(element => this._isVisible(element)).length > 0) {
738
optgroup.style.removeProperty('display')
739
} else {
0 commit comments