moroshko/react-autosuggest

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

Open

#403 创建于 2017年7月12日

在 GitHub 查看
 (7 评论) (4 反应) (0 负责人)JavaScript (637 fork)batch import
bughelp wanted

仓库指标

Star
 (5,936 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南