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 is not moved to the end when text-input already has a value #129

Closed
mrumpf opened this issue Dec 13, 2012 · 2 comments
Closed

Cursor is not moved to the end when text-input already has a value #129

mrumpf opened this issue Dec 13, 2012 · 2 comments

Comments

@mrumpf
Copy link

mrumpf commented Dec 13, 2012

I'm not sure whether this is a bug or a feature, but when the text input has some default text "foobar" and the keyboard is shown, the text is taken over fine, but the cursor is placed in front of the first letter.
"|foobar".
This behavior is quite inconvenient as in usage scenarios where the keyboard is used (touch) it is often hard to place the cursor at the right position.
there should be a property which controls where the cursor will be set: cursorPosition: BEGIN, #pos, END
And "END" might be a good default.

Another option would be to select the whole value when the keyboard is displayed.

@Mottie
Copy link
Owner

Mottie commented Dec 13, 2012

I just added a caretToEnd option in version 1.16. Maybe that will suffice?

I thought about added an option to select all content, but I've already covered that in issue #25. I guess it wouldn't hurt to add it as an option as well. I'll think about adding it in a future version.

@Mottie
Copy link
Owner

Mottie commented May 6, 2013

I'm guessing this enhancement request has been resolved with the addition of that new option, so I'm closing this issue. If this option doesn't work for you, I am open to ideas :)

Thanks again for your suggestion!

@Mottie Mottie closed this as completed May 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants