Replies: 1 comment 1 reply
-
Thanks for the heads up @zOadT. I was not reviewing future changes to PixiJS yet. This is bad news, because these events properties were trivial to implement and were a perfect way to use events without fear of memory leaks. I guess we’ll just need to convert all event properties to event listeners instead internally in the reconciler and make sure there are no leaks. This should be invisible to users of this library and will not be a breaking change. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey! First of all, thank you very much for this package.
Pixi.js will replace the interaction plugin with the events plugin in Pixi v7.
So this isn't a urgent issue, but I tried to test out react-pixi-fiber with the event plugin and run into a problem, see this codesandbox. The problem is, that the
mousedown
etc properties got removed in the events plugin and therefore dont work anymore. Of couse you can still set listeners by using references, but thats pretty cumbersome.As I said, this is not urgent, but are there any plans to add props like
onMousedown
andonMousedownCapture
or are there already other plans?Beta Was this translation helpful? Give feedback.
All reactions