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

IE11 fix: Added check for activeElement #242

Merged
merged 2 commits into from
Sep 17, 2020

Conversation

tho-masn
Copy link
Contributor

Under certain conditions IE11 throws an error, indicating that it can't access tagName of activeElement.
For me it happens, when I'm closing a modal. Then activeElement is null.

In this PR I've just added a null check to prevent undefined access.

@coveralls
Copy link

coveralls commented Sep 16, 2020

Coverage Status

Coverage decreased (-0.7%) to 60.227% when pulling f9fa3a0 on tho-masn:fix_active_element into 6fbe0b8 on ndelvalle:master.

@maximilianschmid
Copy link

Patch works great. Please merge.

@ndelvalle ndelvalle merged commit fa6e3c8 into ndelvalle:master Sep 17, 2020
@ndelvalle
Copy link
Owner

Thanks @tho-masn for the contribution! v-click-outside 3.1.2 published.

@maximilianschmid
Copy link

@ndelvalle Thank you!

@renatodeleao
Copy link
Collaborator

@ndelvalle was on vacation-cave-man-mode these weeks!
Thanks for the patch @tho-masn! :shipit:

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.

5 participants