If you leash a mob and place a fence post, then attempt to place another fence post against it, the lead will connect to the post and the post you are holding will appear to be deleted from your inventory. However, if you right-click with the same hotbar slot or interact with it in your inventory, it will reappear.
Linked issues
duplicates 1
Attachments
Comments 4
Is this still an issue in the most recent versions (currently that is 1.13.2, or the latest snapshot 19w09a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time. If you are the owner/reporter of this ticket, you can modify the affected version(s) yourself.
I tried to recreate this in 18w44a (in survival mode), but the fence didn't disappear.