enterprise-wc
enterprise-wc copied to clipboard
IdsDropdown: selected event not fired when selecting by pressing ENTER
Describe the bug selected event happens only when selecting with click but not with keyboard
To Reproduce
Steps to reproduce the behavior:
- Go to https://main.wc.design.infor.com/ids-dropdown/example.html
- On console run this code:
document.getElementById('dropdown-1').addEventListener('selected', function() {
console.log('selected');
});
- On the first dropdown, select a different option by clicking, works fine and shows
selected
on console - On the same dropdown, open the dropdown and navigate with keyboard to a different option then press ENTER to select: the
selected
word doesn't show because event was not fired.
Version latest
Screenshots