@smilodon/core 1.3.11 → 1.3.12
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/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.umd.js +1 -0
- package/dist/index.umd.js.map +1 -1
- package/dist/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3450,6 +3450,7 @@ class EnhancedSelect extends HTMLElement {
|
|
|
3450
3450
|
const optionId = `${this._uniqueId}-option-${index}`;
|
|
3451
3451
|
if (this._optionRenderer) {
|
|
3452
3452
|
const rendered = this._optionRenderer(item, index, this._rendererHelpers);
|
|
3453
|
+
// Ensure the returned element has the correct classes and listeners
|
|
3453
3454
|
const optionElement = this._normalizeCustomOptionElement(rendered, {
|
|
3454
3455
|
index,
|
|
3455
3456
|
value: getValue(item),
|