Skip to content

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

@ericente

Description

@ericente

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions