Skip to content

Filter bar does not respond to keyboard only usage

Description

When using the keyboard to tab to a search bar, neither the filters open, nor the text is saved as a current filter.

I found this issue while writing a capybara spec based on keyboard events.

Steps to reproduce

  1. Use the tab key to reach the filter input box
  2. Type in a search
  3. Press enter
Expected result

The bar works as it would for click events. For example, when clicking the bar the filters drop down as options, once the search is types there is an x symbol to clear the search.

2021-07-08_10.44.49

Current result

The bar does not show the filters or changes the state to "save" the current filters.

2021-07-08_10.44.24