Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor jumping to the end when editing in the middle #229

Closed
aguo777 opened this issue Sep 13, 2017 · 4 comments
Closed

Cursor jumping to the end when editing in the middle #229

aguo777 opened this issue Sep 13, 2017 · 4 comments
Labels

Comments

@aguo777
Copy link

aguo777 commented Sep 13, 2017

When editing the text in the middle of the input, the cursor jumps to the end (I guess due to the componentDidUpdate logic in TypeaheadInput). Is there any reason this behavior is desirable? It'd be great if this weren't the case, or at the very least specifiable via a prop. Thanks!

@ericgio ericgio added the bug label Sep 13, 2017
@ericgio
Copy link
Owner

ericgio commented Sep 13, 2017

Thanks for the report. It's a bug, just not trivial to fix.

@arvinx
Copy link

arvinx commented Oct 17, 2017

+1 Also experiencing the same issue

@ericgio
Copy link
Owner

ericgio commented Oct 18, 2017

This seems to be a known behavior with React, though not considered a bug.

ericgio added a commit that referenced this issue Oct 19, 2017
@ericgio
Copy link
Owner

ericgio commented Oct 19, 2017

Fixed in v2.0.0-alpha.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants