moroshko/react-autosuggest

Selecting text in popup breaks closing/on-blur

开放

#746 创建于 2020年5月25日

 (2 条评论) (1 个反应) (0 位负责人)JavaScript (569 个派生)batch import
bughelp wanted

仓库指标

星标
 (5,940 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南