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

Click event bubbling within ".typeahead_link" breaks in IE11 #1

Closed
brendanfalkowski opened this Issue Aug 11, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@brendanfalkowski
Member

brendanfalkowski commented Aug 11, 2017

In IE11, after clicking a .typeahead_link in the response the UI shows "loading" indefinitely. The clicked link never loads.

In other browsers, the "loading" state is shown and the link is followed.

@brendanfalkowski brendanfalkowski self-assigned this Aug 11, 2017

@brendanfalkowski

This comment has been minimized.

Show comment
Hide comment
@brendanfalkowski

brendanfalkowski Aug 12, 2017

Member

This happens because click bubbling in IE11 is too slow, and the anchor element is removed from the DOM by a delegated event before the click actually registers. The browser never follows the link but does finish executing the delegated event.

Further details:
http://gravitydept.com/blog/unclickable-links-using-bubbling-only

Member

brendanfalkowski commented Aug 12, 2017

This happens because click bubbling in IE11 is too slow, and the anchor element is removed from the DOM by a delegated event before the click actually registers. The browser never follows the link but does finish executing the delegated event.

Further details:
http://gravitydept.com/blog/unclickable-links-using-bubbling-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment