fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

SearchBox should clear when 'Escape' key is hit while searching

Open pradeepna opened this issue 10 years ago • 4 comments

The user should be able to clear the search box by using 'escape' key when typing a term in the search box.

pradeepna avatar Nov 18 '16 00:11 pradeepna

What version are you using? this was fixed recently.

http://codepen.io/dzearing/pen/WovWLy

dzearing avatar Nov 18 '16 00:11 dzearing

Super. Thanks for the super quick reply. We are using 0.66.

Regards, Pradeep

pradeepna avatar Nov 18 '16 00:11 pradeepna

no problem :)

dzearing avatar Nov 18 '16 01:11 dzearing

Hi, we are using search box inside a dialog/model. The escape behavior is conflict with the closing dialog/modal behavior. Our team don't think it is a meaningful behavior to capture ESC in searchbox and clear the text. Use Ctrl+A -> End is much intuitive and general to all text area in the world. Why do you think it makese sen to ESC to clear the text?

lijunle avatar Aug 25 '17 03:08 lijunle