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

onChange Input field's cursor jumps to the end of data #432

Closed
tanelainla opened this issue Jul 12, 2016 · 5 comments
Closed

onChange Input field's cursor jumps to the end of data #432

tanelainla opened this issue Jul 12, 2016 · 5 comments

Comments

@tanelainla
Copy link

I set up a trial environment for ember-paper and run into an issue with input fields.
Whenever I change the content of the input field, cursor jumps to the end of the date.
This is some kind of a binding issue? I don't touch this variable in the controller.

I'm running Ember 2.6.1 and latest ember-paper 1.0.0-alpha.1

Here's a random input filed I took from the examples:
{{paper-input flex=30 label="Name" value=name onChange=(action (mut name))}}

Otherwise templates runs well and I really like it.

@tanelainla tanelainla changed the title Input field's cursor jumps to the end of data onChange onChange Input field's cursor jumps to the end of data Jul 12, 2016
@miguelcobain
Copy link
Collaborator

I thought this was fixed in ember 2.3.1. Will investigate.

@miguelcobain
Copy link
Collaborator

@tanelainla can you reproduce that problem here: http://miguelcobain.github.io/ember-paper/release-1/#/components/input ?

@miguelcobain
Copy link
Collaborator

@tanelainla I confirmed that happens on master.

@miguelcobain
Copy link
Collaborator

@tanelainla this was fixed and publish on version 1.0.0-alpha.2.

Can you try and confirm it is fixed?
Thanks for reporting!

@tanelainla
Copy link
Author

All good now. Thanks!

openhouse pushed a commit to wowbot2/ember-paper that referenced this issue Aug 22, 2016
* master: (21 commits)
  dummy app: template whitespace cleanup and document use of classes over attributes.
  Added ability for users who don't want to always disable the submit button, to display all the errors in the form upon the user interacting with the submit button. (adopted-ember-addons#459)
  1.0.0-alpha.3
  Update ember-css-transitions to latest version. (adopted-ember-addons#449)
  Upgrades to latest wormhole version. (adopted-ember-addons#446)
  wrong code for shown snippet (adopted-ember-addons#434)
  Fix layout docs (adopted-ember-addons#443)
  fixed fastboot service check (adopted-ember-addons#441)
  Do not require comments to include access
  Add YUIDoc scaffolding
  Update latest version copy as 1.0-alpha is default
  dummy app: Update installation instructions re version 1 being default.
  Update vendor/propagating.js to 1.4.6
  Prep changelog for 1.0.0-alpha.3
  fix to prevent race condition that leaves ghost in the dom (adopted-ember-addons#433)
  bump 1.0.0-alpha.2
  correctly hide sidenav button
  add fix for cursor position. closes adopted-ember-addons#432
  Fastbooting (adopted-ember-addons#430)
  Changed all of the group.paper-radio contextual components over to be just group.radio (including tests, dummy app, and changelog) (adopted-ember-addons#429)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants