mojira.dev
MC-313634

Pressing Tab as a Keybind in the Inventory GUI Does not Work Properly

Java Edition: 26.4-pre1

The Bug:

In the inventory GUI, when Tab is bound to a hotbar slot, you cannot move items in the inventory GUI by pressing Tab on an inventory slot like you could before Minecraft Java Edition: 26.4 Snapshot 7.

Steps to Reproduce the Issue:

Open a new Minecraft world in creative mode, and put a sword in your 1st inventory slot.

Open the pause menu, and press options, controls, and keybinds, and scroll down to the Inventory menu. Find the Hotbar Slot 1 text, and bind it to the Tab button on your keyboard.

Close the pause menu, open your inventory GUI, press “Survival Inventory” (chest) and press tab on any hotbar slot, or inventory slot (not armour or destroy block slots) make sure your mouse is in the middle of a square, and press Tab on your keyboard.

Expected Result:

Pressing Tab smoothly brings your sword to the box your cursor was on.

Actual Result:

Pressing tab will jerk your cursor to an undesired place on the screen; DO NOT HOLD TAB IF YOU HAVE EPILEPSY. Sometimes the sword will move to the desired slot, and sometimes it may not. It is not very consistent.

For Screenshot Clarity:

2026-11-26_15.18.36 - My 6th slot is bound to Tab

15.19.05 - My sword is in my 6th slot

15.19.07 - My cursor is in the position where pressing Tab should bring the sword to that box

15.19.09 - Nothing happened other than my cursor getting sent to destroy item.

15.19.11 - I am about to attempt this again

15.19.13 - I pressed Tab, and nothing happened, but my cursor being moved to Survival Inventory.

15.19.15 - I am about to press Tab again, in older versions, this should bring the sword to my first slot.

15.19.17 My cursor was moved to my head slot, and nothing happened.

Environment

Not Relevent

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media][media][media][media][media]

I’ll be back in 1-2 hours to respond

Caneve_

(Unassigned)

Unconfirmed

26.4 Pre-Release 1

Retrieved