moroshko/react-autosuggest

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

Open

#403 geöffnet am 12. Juli 2017

Auf GitHub ansehen
 (7 Kommentare) (4 Reaktionen) (0 zugewiesene Personen)JavaScript (637 Forks)batch import
bughelp wanted

Repository-Metriken

Stars
 (5.936 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide