This has existed for a long time, but this problem happens particularly often with villagers it seems. I'll go to place a block, and then as I'm doing so a villager walks in the way, and the block becomes neither placed nor in my inventory. If I rejoin the world or server it reappears in my hand.
It's not a big deal, but it's rather frustrating and I'm surprised this issue has been around as long as it has, as I'm sure it was around at least as long ago as 1.14.
This definitely happens on servers and Lan, but I am less certain about singleplayer.
Linked issues
Comments 2
Thank you for your report!
We're tracking this issue in MC-163637, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Duplicate of MC-163637 / MC-95720.