Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Cursor in an Input with a bound value jumps when text is inserted #55

Closed
dfreedm opened this issue Apr 22, 2013 · 2 comments
Closed

Cursor in an Input with a bound value jumps when text is inserted #55

dfreedm opened this issue Apr 22, 2013 · 2 comments
Labels

Comments

@dfreedm
Copy link
Contributor

dfreedm commented Apr 22, 2013

Gist example: https://gist.github.com/azakus/5439158

When an input has a bound value attribute in a template, inserting text will jump the cursor to the end of the input in some browsers.

  • Does not reproduce
    • Firefox 20
    • Firefox Nightly
    • Safari 6
  • Reproduces
    • Chrome 26
    • IE 10
    • Chrome Canary

Cause of toolkitchen/toolkit#109

@ghost ghost assigned rafaelw Apr 23, 2013
@arv
Copy link
Contributor

arv commented Apr 23, 2013

Maybe we need to add a check to see if the value changed before setting it?

Here is a simplified demo http://jsbin.com/onisix/1/

@rafaelw
Copy link
Contributor

rafaelw commented May 7, 2013

Fixed.

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

No branches or pull requests

3 participants