moroshko/react-autosuggest

Input field caret position always resets to the end of the input

开放

#403 创建于 2017年7月12日

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

仓库指标

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

描述

The bug is testable with the Scrollable container example on http://react-autosuggest.js.org/

To reproduce:

  1. Focus on the input field
  2. Type ac
  3. Place the caret between a and c
  4. Type b

Observed behavior:

The caret jumps to the end.

Expected behavior:

The caret should stay between b and c.

贡献者指南