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

Backspace in IE9 has no functionality #62

Closed
mschneck opened this Issue Aug 11, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@mschneck

mschneck commented Aug 11, 2015

If I type a few characters I'll get the suggestions list. But if I delete the last character with backspace no update event is fired. I see the same results as before even if I delete all characters. Entering a new character updates the list again.

The behaviour can be reproduced on the demo page with the Country v1 demo.

@running-coder

This comment has been minimized.

Owner

running-coder commented Aug 12, 2015

Hey mschneck,

found out that IE9 has some issue triggering "input" event when text gets deleted:
http://stackoverflow.com/questions/6382389/oninput-in-ie9-doesnt-fire-when-we-hit-backspace-del-do-cut

I've made an ugly hack to get around it, should work now (in the master branch, no tag yet)

Thanks

@running-coder running-coder added the Bug label Aug 12, 2015

@mschneck

This comment has been minimized.

mschneck commented Aug 12, 2015

Hi Running-Coder Team,

it works like charm - but your right, it's an ugly hack. I'll hope IE9 won't be a target browser as soon as possible.

Thanks lot for the very fast solution

running-coder added a commit that referenced this issue Aug 12, 2015

running-coder added a commit that referenced this issue Sep 13, 2015

Version 2.1.0
New Features
Closes #30 #71 Adding correlativeTemplate to compile the template and soften the search matching mechanism
Closes #67 Adding the possibility to have the {{query}} word replace inside the Ajax Url
Closes #65 Added Bootstrap example

Fixes #54: onSubmit callback was not receiving proper item information
Fixes #58: Debug option is now being considered and will not print if set to false, make sure to use the /dist/jquery.typeahead.min.js version in production
Fixes #62 IE9 doesn't trigger "input" event when text gets removed
Fixes #64 options.template was unable to display "false" or "0" value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment