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

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

Closed
brendanfalkowski opened this issue Aug 11, 2017 · 1 comment
Closed
Assignees
Labels
bug

Comments

@brendanfalkowski
Copy link
Member

@brendanfalkowski 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
Copy link
Member Author

@brendanfalkowski 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.