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

Where is the pointer #11

Open
julyzerg opened this issue Apr 22, 2015 · 7 comments
Open

Where is the pointer #11

julyzerg opened this issue Apr 22, 2015 · 7 comments

Comments

@julyzerg
Copy link

  1. Is there anyway to make the cursor (pointer, the blinking '|') appear because every time I am typing using the OS-keyboard, I lost focus of current textbox (input).
  2. Normally when you use physical keyboard you have some functions like onkeydown, onkeyup or onchage... that indicates there are changes in the input, how to know if I typed something in the input using OS-keyboard, for example: I am trying to implement this: auto move to next input if reached max-length of current input, how do I do this? (and seems like the maxlength attribute doesn't work when using OS-keyboard)
@sdeering
Copy link
Owner

  1. The cursor should automtically start focus on the first input and blink as normal. What iOS device/version are you using?
  2. Write a simple function which moves to the next input and sets focus and attach it to the keyup event of the keyboard inputs that should work.

@julyzerg
Copy link
Author

  1. I am using Chrome 42 (the previous 41 also not worked) on windows 7 & 8 and the cursor is not showing while you typing (IE 10 is showing though)
  2. Because it lost focus on Chrome so all events like keyup, keydown... won't work.

Can you do a quick test?

@sdeering
Copy link
Owner

@julyzerg The focus works for me when I type keys or click buttons or tab across. Maybe I am missing something?

Can you try using this demo: http://www.jquery4u.com/demos/onscreenkeyboard/

image

@julyzerg
Copy link
Author

when you start hitting the keys, the blinking cursor disappears, same as focus (notice when the input field has focus, its border becomes blue).

This picture shows how the input field look like when it has the blinking cursor and focus:
untitled

as long as you start typing (hitting the on-screen key) they are gone:
untitled2

(notice that I am typing "where are cursor and focus" and is at 's' key)

@sdeering
Copy link
Owner

sdeering commented Jun 9, 2015

@julyzerg Ah I see this now, looks like a bug! Thanks.

@julyzerg
Copy link
Author

julyzerg commented Jan 4, 2016

Do you have a solution for this to, the blinking cursor is really needed, for the Google Chrome.
I mean it still works fine but it would be much nicer if users can see where the cursor is.

@retroisbest
Copy link

I too would love to see this issue fixed, i have an auto complete function on one of my textboxes but it fails to work correctly as it loses focus

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

3 participants