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/232 exclude iframes inside element from detectIframe mechanism #235

Conversation

renatodeleao
Copy link
Collaborator

closes #232,

Making onFauxIframeClick a little bit smarter by checking if the iframe that triggered the blur event is inside the v-click-outside element, preventing handler execution in that case.

As reported on #232

"faux clicks" on iframe buttons (common pattern in social media buttons and other iframe widgets that were inside binding element were wrongly triggering "click-outside" handler.
too many `console.logs`, colorized them with elements color for easier grasp 💅
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.2%) to 60.92% when pulling 029d0db on fix/232-exlcude-iframes-inside-element-from-detect-iframe-mechanism into 75c23d4 on master.

@ndelvalle ndelvalle merged commit e46be74 into master Sep 7, 2020
@ndelvalle ndelvalle deleted the fix/232-exlcude-iframes-inside-element-from-detect-iframe-mechanism branch September 7, 2020 16:01
@ndelvalle
Copy link
Owner

@renatodeleao you rock 🙌🏻

@ndelvalle
Copy link
Owner

@renatodeleao v-click-outside 3.1.1 published 🎉

@renatodeleao
Copy link
Collaborator Author

Yeah 🤘

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.

detectIframe default
3 participants