moroshko/react-autosuggest

Selecting text in popup breaks closing/on-blur

オープン

#746 opened on 2020/05/25

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

Repository metrics

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

説明

Codepen: https://codepen.io/moroshko/pen/vpBzMr (one from example page)

Browser: Google Chrome Version 83.0.4103.61 (Offizieller Build) (64-Bit) OS: Win 10 Pro

Steps to reproduce:

  • type in smt in input: popup opens
  • mark text in it
  • click autoside of popup: it doesn't close (on-blur also is not fired)
  • click on an element: popup closes
  • type smt new in input: popup opens
  • click outside: Popup doesn't close (on-blur also is not fired)
  • from here the open/close is broken

Example as GIF: mark-closing-issue

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