The bug
Clicking on a recipe, which just moved items to the crafting grid, after you picked up items being ingredients of the recipe deletes them.
Additionally you cannot shift click on the recipe if there is no free space in your inventory, even though this space is not required.
How to reproduce
Clear your inventory
/clear
Fill up your whole inventory except two slots with wooden swords
/give @s wooden_sword 34
Give yourself three stacks of oak planks, one of them should be dropped
/give @s oak_planks 192
Open the recipe book
Shift click on the crafting table recipe
After the third stack of planks was picked up: Shift click on the recipe again
→ The recipe is incorrectly placed and you lost a stack of planks
Related issues
Attachments
Comments


Can reproduce:
https://gfycat.com/FilthyCautiousHypsilophodon
In the gif, note that I cannot pick up any more reeds before i click the paper recipe for the first time; I can pick up more reeds before clicking the recipe the second time. I was not able to reproduce this if my character was completely filled with reeds.
In 1.12, it just throws the dropped item(s) out of the inventory instead of deleting it/them.

"In 1.12, it just throws the dropped item(s) out of the inventory instead of deleting it/them."
For uncrafting blocks into their components this is true.
In the above issue though, components are crafted into blocks and when doing this in the described way, items are deleted.

The comment was a bit unclear, but it's referring to 1.12.0. 1.12.1 did some internal changes for the recipe book relating to duping+the packets used by it, which is probably what lead to this.