How to blend attack animation to idle state?

I thought about that after posting the video abd changed the animation to go back to an idle pose, but it still pops back to the idle frame instantly with no blending or transition