Opened 11 years ago
Closed 11 years ago
#12421 closed enhancement (patchwelcome)
Native autocomplete/autofill doesn't trigger change events in IE
Reported by: | maranomynet | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | git |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is a known "feature" in IE, but seems like just the kind of thing that jQuery should correct - like bubbling, etc.
Here's a reduced test: http://jsfiddle.net/xf9Dw/4/
Here's one possible fix: http://stackoverflow.com/a/8249622
Change History (3)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Actually, the "firing multiple times" bit only applied to the second, simpler/cruder solution. The first one fires only when an actual change has been made.
I thought this could be baked into an event-binding hook to apply it transparently to only inputs that need it.
Fixing this issue would make change
events far more reliable and useful.
comment:3 Changed 11 years ago by
Resolution: | → patchwelcome |
---|---|
Status: | new → closed |
I've been through these several times myself, but if anyone else would like to revisit them and look for a solution I'd be glad to work with them.
There are many cases like this where you simply trade off one problem for another. Note that the SO thread says "If you don't care about onchange firing multiple times" but people DO care about those sort of things and by doing that you turn an autocomplete-only problem into a happens-every-time problem. Then we get even more bug reports about that.
An application-level workaround seems best here because only the app creator knows whether their code has been designed to deal with the workaround.