igniteui-angular
igniteui-angular copied to clipboard
Filtering condition cannot be escaped via pressing ESC
Description
Filtering condition cannot be escaped via pressing escape key
Steps to reproduce
- Run the Grid Performance demo.
- Open the filter dialog on any column.
- Open the dropdown with the filtering conditions.
- Use the the down arrow key to select another condition, i.e. 'Ends With'.
- Press escape key to cancel the previously selected condition.
Result
The selected condition is not escaped.
Expected result
The condition, that was selected via arrow keys navigation, should be escaped when pressing Escape.
This is the way the select element currently behaves in major browsers and I am not 100% sure what specification says on when to fire change event on a select element. MSDN says that "browsers do not always agree whether a change event should be fired for certain types of interaction". Specifically for pressing Escape key both Mozilla and Chrome fire the change event. There is an issue logged for Mozilla and I have logged one for Chrome