aeb-ui-kit 3.0.0-preview.571 → 3.0.0-preview.579
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/fesm2020/aeb-ui-kit.mjs
CHANGED
|
@@ -2603,15 +2603,9 @@ class DropdownComponent {
|
|
|
2603
2603
|
}
|
|
2604
2604
|
}
|
|
2605
2605
|
mouseHandler(type, index) {
|
|
2606
|
-
const options = this.option.toArray();
|
|
2607
|
-
const option = options.filter((o) => {
|
|
2608
|
-
const attributes = o.nativeElement.attributes;
|
|
2609
|
-
return attributes.aebDropdownOptionIndex.value === index.toString();
|
|
2610
|
-
})[0]?.nativeElement;
|
|
2611
2606
|
const inputField = this.inputField.nativeElement;
|
|
2612
2607
|
if (type === 'move') {
|
|
2613
2608
|
this.activeOption = index;
|
|
2614
|
-
option.focus();
|
|
2615
2609
|
}
|
|
2616
2610
|
else if (type === 'leave') {
|
|
2617
2611
|
this.activeOption = -1;
|