Can confirm in vanilla 1.17 Also, may be duplicate of MC-203079.
Also, I don't think this is a duplicate of MC-70127. That bug is related to the debug screen not properly displaying the server-side block state, whereas this bug is a block state not properly being updated.
I was able to recreate this issue in Java 1.17/vanilla. Looks like it may be related to MC-193457 Dropper/Dispenser 'Triggered' block state not updating without player interaction.
Can confirm in vanilla 1.17 Also, may be duplicate of MC-203079.
Also, I don't think this is a duplicate of MC-70127. That bug is related to the debug screen not properly displaying the server-side block state, whereas this bug is a block state not properly being updated.