Whenever you go into the middle of a doorway on Minecraft, shut the door, and crouch, you cannot leave that crouching position until you leave the middle of the door.
To test this bug, you need to have a door. Walk up to the door, open it, and close it with you in the middle of it. While you are in the middle of the door, crouch. If you try to uncrouch, you are not allowed to until you leave the door.
I would expect for you to move freely in the doorway if you are able to stand in the middle with the door shut on you on the middle, or changes from crouching to standing.
The actual result of this bug is that you are stuck in a crouching position until you leave the door from either side, and are not given the option to stand normally.
Thank you for helping us improve Minecraft! We saved your files: