Jump to content

mouseover goes through html elements


manelis
 Share

Recommended Posts

I have several html absolute position elements on top of the pixi canvas. I get the mouseup and mouseover events on objects doing the following:

 

this.mouse_mask
.on('mouseup', districtOnClickUpHandler)
.on('mouseover', districtOnMouseOverHandler);
 
The thing is, the mouseover event goes through the html elements, but the mouseup does not.
 
Anyone knows what can I do so the mouseover also doesnt go through the html?
Link to comment
Share on other sites

Oh that is bad for me :/

 

IS there any prevision for you to include this in a release?

 

Should I use that version for now? (or make a build of the dev branch?)

 

edit: ok, it seems to not happen when the html is before the canvas on the dom with a bigger z-index, going to use that for now.

 

edit2: nevermind, it happens anyway

 

edit3: the pull request does indeed work for me.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...