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

Issue 25 revisited for IE9 #75

Closed
ghost opened this issue Jun 8, 2012 · 4 comments
Closed

Issue 25 revisited for IE9 #75

ghost opened this issue Jun 8, 2012 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Jun 8, 2012

I have several input fields in a form that on focus brings up their respective keyboard. I have set up the visible callback so that the preview input gets populated with the input field's value and then the input text is selected as per your instructions in issue #25. This is useful when returning to an input field to change the value.

visible : function(e, keyboard, el) {
   keyboard.$preview.val(keyboard.$el.val());
   keyboard.$preview[0].select();
}

In Chrome it seems to work fine, but in IE9 the .select() seems to only work until I hover over the keyboard buttons at which point the selection stops and the caret gets positioned.

Here is a (demo)

@shelfos
Copy link

shelfos commented Jun 11, 2012

A coworker of mine was recently signed in to github on my machine so the original issue got submitted under his profile (haiyun211) - sorry. But I am the one with the actual issue - so if you have any questions or comments please direct them to me (shelfos).

A quick update . . . when I run the aforementioned jsfiddle demo in IE9 I can't seem to get the mouse hover issue to duplicate itself as it is happening in my actual project so I will look more into that. But the problem persists with the enter-key behavior and the focus moves to the next input field. The value is not highlighted as expected and the caret goes to the front of the value. In Chrome it works as expected.

@Mottie
Copy link
Owner

Mottie commented Jun 12, 2012

Hi selfos!

Sorry, I've had a busy weekend/Monday. I will look into fixing this soon!

Also, this might be related to issue #69 and maybe a few others.

@ghost ghost assigned Mottie Jun 12, 2012
@Mottie
Copy link
Owner

Mottie commented Jun 18, 2012

Hi shelfos!

This issue should now be resolved. Thanks again for the feedback and demo!

@Mottie
Copy link
Owner

Mottie commented Jul 2, 2012

I'm guessing this issue has been resolved, so I'm going to close it. Please feel free to reopen it if you continue to have problems. Thanks!

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

2 participants