moroshko/react-autosuggest

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

Open

#403 aperta il 12 lug 2017

Vedi su GitHub
 (7 commenti) (4 reazioni) (0 assegnatari)JavaScript (637 fork)batch import
bughelp wanted

Metriche repository

Star
 (5936 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

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