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 (5,936 star) (637 fork)batch import
bughelp wanted

描述

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.

貢獻者指南