How to recreate:
Place 2 blocks of sand on top of each other.
Pick a shovel and a stair/slab.
Switch to gamemode survival.
Put the slab/stair in your off-hand.
Dig the lowest sand block and place the slab/stair as soon as the sand is broken.
What's expected to happen:
The sand falls onto the slab/stair, when a slab is used, the sand block breaks and drops itself as soon as it falls onto the slab.
OR
The slab/stair is not placed and stays in the players inventory.
What actually happens:
If you place the stair/slab quickly enough, it disappears until you rejoin the world or place another item in your off-hand.
Related issues
Comments


I can confrim in 22w15a

Thank you for your report!
We're resolving and linking this ticket forward as a duplicate of MC-163637, as that ticket contains more detailed information and/or has already been triaged by Mojang.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
I managed to recreate this in 18w43c, so I updated the description. I hope it makes more sense now.