Skip to content

"out of stack space" with stacked elements #25

Description

@jywsn

I have a situation where I have three canvas elements stacked on top of one other (call them #canvas1, #canvas2, #canvas3), and I need to set "pointer-events: none" on the top two elements (#canvas1, #canvas2). The current version of the code available via a bower install ends up generating an "out of stack space" error. Basically, it ends up in vicious cycle where it determines #canvas1 is 'underneath' #canvas2, and then determines #canvas2 is 'underneath' #canvas, etc. Basically, the code can't handle the case where there are multiple elements at the mouse event point that have 'pointer-events: none'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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