moroshko/react-autosuggest

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

Aperta

#403 aperta il 12 lug 2017

 (7 commenti) (4 reazioni) (0 assegnatari)JavaScript (569 fork)batch import
bughelp wanted

Metriche repository

Star
 (5940 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor