moroshko/react-autosuggest

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

Open

#403 ouverte le 12 juil. 2017

Voir sur GitHub
 (7 commentaires) (4 réactions) (0 assignés)JavaScript (5 936 stars) (637 forks)batch import
bughelp wanted

Description

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.

Guide contributeur