moroshko/react-autosuggest

Escape key in IE11 not working

Open

#706 aperta il 6 gen 2020

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)JavaScript (637 fork)batch import
bugcross-browser compatibilityhelp wanted

Metriche repository

Star
 (5936 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

You can see the code here https://codepen.io/E-The-Man/pen/wvBpLLJ

  • Provide the steps to reproduce the issue, e.g.:
  1. Click on a button to open the searchbar
  2. Press the Escape key to close the searchbar
  3. The searchbar closes in every other browser including Edge, it doesn't close in IE11. The searchbar closes when you click outside the component.
  • Please describe your use case from user journey point of view, e.g.:

    When a user clicks on a button, it launches the auto-suggest search bar. A user should then be able to close the search bar by pressing the Escape key. This works as expected in all browsers except IE11.

Guida contributor