RadLikeWhoa / Countable

Add live paragraph-, word- and character-counting to an HTML element.
https://sacha.me/Countable
MIT License
1.64k stars 134 forks source link

Countable callback not called in IE9 when input characters are deleted #30

Closed dcalhoun closed 9 years ago

dcalhoun commented 9 years ago

There seems to be a bug in IE9's oninput event. The bug causes the event to not fire when characters are deleted (e.g. – backspace, delete, cut).

Countable currently uses oninput if the browser is capable. While IE9 is capable of oninput, it might be better to force IE9 to use the onkeyup event. IE9 does appear to fire onkeyup when characters are deleted.

RadLikeWhoa commented 9 years ago

Discussion on this issue will be in #31.