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

No suggestions on IE11 #43

Open
waht opened this issue Aug 16, 2016 · 2 comments
Open

No suggestions on IE11 #43

waht opened this issue Aug 16, 2016 · 2 comments

Comments

@waht
Copy link

waht commented Aug 16, 2016

On Internet Explorer 11 horsey fails to display suggestions. The developer console shows that on line 365 parent is undefined (an exception is thrown).

364:      for (let char of text) {
365:        parent.insertBefore(spanFor(char), el);
366:      }

I found out that document.createTreeWalker as used in getTextChildren is unsupported by IE (all versions according to MDN: https://developer.mozilla.org/de/docs/Web/API/Document/createTreeWalker). This seems to lead to parent being undefined.

@korywka
Copy link

korywka commented Oct 12, 2016

confirm. broken on ie.

@backflip
Copy link

I have opened a PR fixing IE9+: #50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants