Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

IE9 Backspace bug #879

Closed
zdam opened this issue Apr 12, 2012 · 4 comments · Fixed by #936
Closed

IE9 Backspace bug #879

zdam opened this issue Apr 12, 2012 · 4 comments · Fixed by #936

Comments

@zdam
Copy link

zdam commented Apr 12, 2012

I'm seeing an issue in IE9

http://jsfiddle.net/cCDZ2/

Type some text into the textbox, then backspace or delete - the model is not being updated.

@zdam
Copy link
Author

zdam commented Apr 26, 2012

I have had a look into this, function textInputType binds the listener function to the input event or the keydown event, depending on whether the $sniffer finds the input event.

My naive solution is to detect IE9 and bind to keydown if found:

var isIE9 = function() {
return XDomainRequest && window.performance;
}

// if the browser does support "input" event (and is not IE9), we are fine
if ($sniffer.hasEvent('input') && !isIE9()) {
element.bind('input', listener);
} else {
...
}

Did you already have plans as to how you would tackle this bug?

@IgorMinar
Copy link
Contributor

this is lame. IE9 should support the input event, but apparently their implementation is quite weird. we'll look into this next week.

@ganarajpr
Copy link

I am still seeing this issue. Though the problem is more specific than what was earlier.. As a general note it seems to have been fixed but there is probably a remote case which is causing this to still happen! I am attempting to create an isolated case which will reproduce the bug in a sane level of consistency. But this bug is probably not solved completely!

@IgorMinar
Copy link
Contributor

please open a new issue if you can reproduce it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants