I selected 1.16 but it may works in older versions too.
When you destroy a block and in the same tick place a block, the block will be placed on the same position as the destroyed block even if the placed block is surrounded by BlockAir.
I had to convert my footage to gif so i can fit in 10mb limit.
Environment
Win 10 Home (64 bit), RTX 2070, 16 GB RAM, Java 8.0
Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-187569, which is a report that has not been resolved yet.
If you want, you can upvote the parent ticket, and enable watching to receive any updates about it - if you believe you have any information that may be important for this issue, please leave a comment on the parent. Please also use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 🛠 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
💬 Mojira Subreddit – 💬 Mojira Discord