manelis Posted September 29, 2015 Share Posted September 29, 2015 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? Quote Link to comment Share on other sites More sharing options...
xerver Posted September 29, 2015 Share Posted September 29, 2015 Likely related to: https://github.com/pixijs/pixi.js/issues/1763 Pixi captures events too early and somtimes prevents you from getting them. Quote Link to comment Share on other sites More sharing options...
manelis Posted September 30, 2015 Author Share Posted September 30, 2015 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.