This is a little known bug and a trick. If you place a trapdoor on your side , and that it goes down when it closes, and you stand on the side , then you operate ,then you shrink to 1 Block size because of trapdoor, and become normal when you open trapdoor or walk front or back. Sorry for Bad English and test for yourself.
Thank you for your report!
We're actually already tracking this issue in MC-147612, so I resolved and linked this ticket as a duplicate.
However, that ticket has already been resolved. That means that this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki