Issue 25 revisited for IE9 #75

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

Comments

Projects
None yet
2 participants
@ghost

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

This comment has been minimized.

Show comment Hide comment
@shelfos

shelfos 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.

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

This comment has been minimized.

Show comment Hide comment
@Mottie

Mottie Jun 12, 2012

Owner

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.

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

This comment has been minimized.

Show comment Hide comment
@Mottie

Mottie Jun 18, 2012

Owner

Hi shelfos!

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

Owner

Mottie commented Jun 18, 2012

Hi shelfos!

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

@Mottie

This comment has been minimized.

Show comment Hide comment
@Mottie

Mottie Jul 2, 2012

Owner

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!

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