Whenever I close my inventory, chest, crafting, or menu, while moving my cursor, the camera would jump to the direction of the cursor.
To reproduce, open your inventory and close it while moving your cursor.
Edit: I've only seen this issue on Macs.
Environment
MacOS Monterey 12.1, Java 17.0.1 64 bit, M1 Macbook Air
Linked issues
is duplicated by 3
Attachments
Comments 18
Relates to MC-145948.
Also able to reproduce it. It seems that if you completely stop the mouse movement before closing inventory it doesn't happen. You have to be moving the mouse at the same time you close inventory. Video Here
Confirming still happens and is easily reproducible in 1.21.0. Doesn't always happen.
demonstrates it happening. I have mods installed but I have tested it both vanilla and with my mods and neither makes any difference to this action.
This is a GLFW issue that specifically affects Mac players. For anyone who uses Prism Launcher, here’s a fix: https://github.com/Poleward/mac-lwjgl-fix
Confirming happens in 1.21.10.
It actually snaps in the OPPOSITE direction of the mouse, as if it is snapping the mouse to the center and thus moving the camera.
i cannot confirm this