Skip to content
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

Maybe fix IE autocomplete misses #6806

Closed
wants to merge 1 commit into from
Closed

Maybe fix IE autocomplete misses #6806

wants to merge 1 commit into from

Conversation

jquense
Copy link
Contributor

@jquense jquense commented May 19, 2016

Quick attempt to fix #6614

I HAVE NOT TESTED THIS, needs someone to confirm it actually works
instead of creating an endless event loop

It listens for the top level onChange, which is a bit dangerous
(maybe?) since the other events will fire a top level Change event,
Presumably tho the value won’t differ and it will be a loop.
Alternatively we could listen to onInput but you might get the noise
again, depending on how well the deduping is working

Quick attempt to fix #6614

I HAVE NOT TESTED THIS, needs someone to confirm it actually works
instead of creating an endless event loop

It listens for the top level onChange, which is a bit dangerous
(maybe?) since the other events will fire a top level Change event,
Presumably tho the value won’t differ and it will be a loop.
Alternatively we could listen to onInput but you might get the noise
again, depending on how well the deduping is working
@jquense
Copy link
Contributor Author

jquense commented May 19, 2016

cc @arendjr

@arendjr
Copy link

arendjr commented May 19, 2016

I'm afraid it doesn't fix it for me...

@jquense
Copy link
Contributor Author

jquense commented May 19, 2016

Can you confirm you've built correctly and the code above is running in your browser (in the dev tools you can check). Do you have a sense as to why its not working? its now listening for the onChange. does the code get to that branch on an autocomplete?

@arendjr
Copy link

arendjr commented May 19, 2016

I did confirm the correct code was running in the browser, but I'm not sure why it's failing. Indeed I confirmed earlier the change event should've been triggered by the auto-complete. If I got time I'll try to take a deeper look tomorrow.

@arendjr
Copy link

arendjr commented May 19, 2016

Yes, I can confirm a manual DOM event listener for the "change" event fires, but "onChange" isn't called.

@jquense
Copy link
Contributor Author

jquense commented Jun 13, 2016

It seems that its not straightforward to fix some of these b/c they require focus. gonna close, sicne its already fixed in master anyway

@jquense jquense closed this Jun 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants