igniteui-angular
igniteui-angular copied to clipboard
The igxDropDownItemNavigation directive doesn't select on enter.
Description
The igxDropDownItemNavigation directive doesn't select on enter, when the target is a dropdown.
Steps to reproduce
- Use the directive in an input:
<input igxInput [igxDropDownItemNavigation]="dropdown" required />
<igx-drop-down #dropdown (onSelection)="itemSelection($event)">
<igx-drop-down-item *ngFor="let item of dropDownList">
<div class="igx-drop-down__item-template">
<span igxSufix>{{item.name}}</span>
</div>
</igx-drop-down-item>
</igx-drop-down>
- Navigate to an item in the dropdown.
- Try selecting it using Enter.
Result
There is no selection made.
Expected result
There should be a selection.