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

correctly show/hide when used inside shadow DOM #3032

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nicolai8
Copy link

@Nicolai8
Copy link
Author

The problem were in test_active_click method.
When element is created inside of shadow dom the evt.target is not pointing to the correct element but to shadow root element.
So, to avoid this behaviour I changed .getRootNote() call instead of .ownerDocument for the element on which test_active_click handler is applied.

@JJJ JJJ mentioned this pull request Jul 22, 2020
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

Successfully merging this pull request may close these issues.

None yet

1 participant