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

Fix a shadow DOM issue where the menu could not be displayed #77

Merged
merged 1 commit into from
Sep 3, 2017
Merged

Fix a shadow DOM issue where the menu could not be displayed #77

merged 1 commit into from
Sep 3, 2017

Conversation

BorntraegerMarc
Copy link
Contributor

Replace this.getDocument().activeElement with this.tribute.current.element to fix a bug in shadow DOM, where the menu could not be shown. Because this.getDocument().activeElement was not the native input element.

Replace `this.getDocument().activeElement` with `this.tribute.current.element` to fix a bug in shadow DOM, where the menu could not be shown. Because `this.getDocument().activeElement` was not the native input element.
@BorntraegerMarc
Copy link
Contributor Author

Fixes part of #76

@mrsweaters this is obviously a quick fix, because the this.getDocument().activeElement calls did not get replaced everywhere. But we are suffering because of this bug in production (menu can't get displayed.

So I would be graceful if you could merge this PR and release a new version 😄

@mrsweaters
Copy link
Collaborator

Merging! I'll go through and update references to activeElement where necessary.

@mrsweaters mrsweaters merged commit 0afb6f4 into zurb:master Sep 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants