igniteui-angular icon indicating copy to clipboard operation
igniteui-angular copied to clipboard

Filtering condition cannot be escaped via pressing ESC

Open SAndreeva opened this issue 8 years ago • 1 comments

Description

Filtering condition cannot be escaped via pressing escape key

Steps to reproduce

  1. Run the Grid Performance demo.
  2. Open the filter dialog on any column.
  3. Open the dropdown with the filtering conditions.
  4. Use the the down arrow key to select another condition, i.e. 'Ends With'.
  5. 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.

SAndreeva avatar Apr 25 '18 13:04 SAndreeva

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

hanastasov avatar May 04 '18 07:05 hanastasov