-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Two strange interaction behavior #507
Comments
@zhouccccc You're rendering the viewport directly, which isn't how it's really intended to be used. The app stage isn't designed to be transformed. If you instantiate a PixiJS app normally and use the stage, do you see the same behavior? |
If instantiate a PixiJS app and use the stage, it works as normal. |
PixiJS itself gets weird when you start messing with Stage transforms, so I think something would have to change there and not in this library. |
This issue occurred when I upgraded to the latest version (v6). I didn't have this problem using v5. I suspect some updates in the new version make this issue happen |
@danielbarion @lunarraid
I found another two strange interaction behavior. the latest code has been updated at here
https://codesandbox.io/p/sandbox/cm8z9t
you can reproduce them with next two points:
#1 After init --> drage the scene. you'll find that the entire scene doesn't follow the mouse cursor perfectly, and the movement path may even deviate
#2 After init --> zoom out the scene --> drage the scene. you'll find the bunny sprite suddenly flying off-view.
The text was updated successfully, but these errors were encountered: