In ALL versions with the attack cool down on weapons that cooldown triggers on a swing animation instead of when you attack. (ex. You place down a block in your offhand while holding a sword in your main-hand then immediately attack a player after placing the block from my offhand and I don't get a fully charged hit.) Additionally the cooldown indicator does not register this bug.
Linked issues
duplicates 1
Comments 2

It does but MC-118740 does not explain why. (Sorry)
This ticket duplicates MC-118740.