The bug
When closing the creative inventory with an item on the cursor, the item is still there when reopening the creative inventory.
Steps to reproduce
Place an item in your cursor while in creative mode
Close the creative inventory
Reopen the creative inventory
-> ❌ The item is still on the cursor
Related issues
is duplicated by
Attachments
Comments


Can confirm.

Can also confirm in 1.17.1 Pre-release 2. I thought this was a fix to MC-87935.
Can confirm in 1.17.1.

The item also remains when you switch to survival, but turns into a ghost item.

As per MC-231366, this bug also affects the survival mode inventory.
When you are in inventory and are holding one or more items with the pointer/cursor, it used to be that if you exited the inventory by pressing "e" or "Esc", the item would drop. This is no longer the case - the item returns to the inventory.

@unknown, that report is actually a duplicate of MC-224946.

Can confirm in 1.18 Pre-release 4.

Can confirm in 1.18 Pre-release 8
Can confirm in 1.18.

I also confirmed it in 1.18.1.

Per MC-248901, if doing this, and switching to survival/adventure will cause a ghost item (server correctly says no item exists), so this is fully client caused (client controls creative menu, not server).

Can confirm for 1.19 Release Candidate 2.
Can confirm in 1.19.
Can confirm in 1.19.1.

Can confirm in 22w44a