- ๐ฆ๐บAustralia mstrelan
I assume this is referring to the textfield on
/admin/modules
. There is a similar filter on/admin/structure/views
that works in the same way. Tagging for usability review to decide if this is something we should do. - ๐ฎ๐ณIndia hitvikav_
Hi @marvil07,
I am using drupal 11 and esc key is working for me to deleting string while searching a module - ๐ฆ๐บAustralia mstrelan
There is nothing to review. Changing status for #17.
- ๐ฉ๐ชGermany rkoller Nรผrnberg, Germany
i am unaware about the situation back when the issue was created by @marvil07, but currently if a user is able to clear a search field by pressing the ESC key, like @hitvikav_ was able to, is solely dependent on which browser is used. I've created a small comparison table for โจ Add a clear button to the fields ui Active :
In the linked issue i've suggested a bit broader solution. At the moment some browsers provide only browser based solutions to clear a search field by showing a clickable clear button as well as adding the ability to clear the field by pressing the ESC button. But the behavior as well as the styling differs across browser, if they have one. My suggestion in the linked issue is adopting the clear button that was added to project browser ( โจ Ability to clear keyword/search filter with one click Needs work , ๐ Remove the clear button from the tab order Fixed ) for core in general.
- ๐บ๐ฆUkraine leonid_fishchuk
Escape button is only listened to if search field is in focus.
Added a listener on body level, so filter will be reset by Escape regardless of focus.