aeb-ui-kit 3.0.0-preview.579 → 3.0.0-preview.581
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,9 +2603,15 @@ 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;
|
|
2606
2611
|
const inputField = this.inputField.nativeElement;
|
|
2607
2612
|
if (type === 'move') {
|
|
2608
2613
|
this.activeOption = index;
|
|
2614
|
+
option.focus();
|
|
2609
2615
|
}
|
|
2610
2616
|
else if (type === 'leave') {
|
|
2611
2617
|
this.activeOption = -1;
|