moroshko/react-autosuggest

Escape key in IE11 not working

オープン

#706 opened on 2020/01/06

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (569 件のフォーク)batch import
bugcross-browser compatibilityhelp wanted

Repository metrics

Stars
 (5,940 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド