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

Doesn't work on links not containing image elements #22

Open
ericente opened this issue Sep 25, 2015 · 0 comments
Open

Doesn't work on links not containing image elements #22

ericente opened this issue Sep 25, 2015 · 0 comments

Comments

@ericente
Copy link

I've gotten this plugin to allow clicks to pass through 'pointer-events:none' elements to Canvas elements without issue, and to links ('A' elements) only if they contain 'img' DOM elements (only on the actual area of the image, not on text within the element). However links that consist only of text do not work, and 'a' elements that are styled with CSS to take up a certain amount of space, have a background image, etc that do not contain an image element do not receive clicks passed through 'pointer-events:none' elements.

I've tested this in IE9 and 10. My workaround is to add a spacer.gif to the 'a' element that needs to receive clicks, and make that gif cover the full area of the link using css.

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

1 participant