Skip to content

Commit fabaed5

Browse files
authored
refactor!: update MSCB to not use combo-box extension internally (#9804)
1 parent 5db220d commit fabaed5

21 files changed

+662
-1181
lines changed

packages/combo-box/src/vaadin-combo-box-base-mixin.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,13 @@ export const ComboBoxBaseMixin = (superClass) =>
241241

242242
/**
243243
* Create and initialize the scroller element.
244-
* Override to provide custom host reference.
245244
*
246-
* @protected
245+
* @private
247246
*/
248-
_initScroller(host) {
247+
_initScroller() {
249248
const scroller = document.createElement(`${this._tagNamePrefix}-scroller`);
250249

251-
scroller.owner = host || this;
250+
scroller.owner = this;
252251
scroller.getItemLabel = this._getItemLabel.bind(this);
253252
scroller.addEventListener('selection-changed', this._boundOverlaySelectedItemChanged);
254253

packages/multi-select-combo-box/src/styles/vaadin-multi-select-combo-box-core-styles.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export const multiSelectComboBoxStyles = css`
1212
--_chip-min-width: var(--vaadin-multi-select-combo-box-chip-min-width, 50px);
1313
}
1414
15+
:host([opened]) {
16+
pointer-events: auto;
17+
}
18+
1519
#chips {
1620
display: flex;
1721
align-items: center;

0 commit comments

Comments
 (0)