Pressing left-click and right-click at the completely same frame when holding a block will play the block breaking animation and sound, but the block still remains.
Actually, the block is removed once but it gets placed again even if the block you look after breaking the block is air block.
I'm not good at English so I provide a video to show the glitch.
As far as I have understood, this is a feature, not a bug.
Edit: and I mean like facing hoppers on Y 0 facing down.
Not something like having a issue with blockstates (like dispenser being powered all the time)