While the player hits/punch the air in Minecraft pocket edition on mobile, it does not show a attack animation also known as air swing or hit animation.
Previous versions it showed this animation in new controls but not the old dpad controls, newest version does not show this animation in all of the controls, including new ones and old dpad control option.
Thank you for your report!
We're tracking this issue in MCPE-107865, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki