Why do both Ragdoll and Animator are working at the same time ?

Hy all, i’m pretty new in Unity, and facing a kind of issue :
I have a humanoid model. I applyed to it a Ragdoll by adding a new 3D component.

I also applyed an Iddle animation to my character.
After reading few posts I understood that when both Ragdoll and Animator are applied to a character. The Ragdoll will be disable while an animation is playing.

But in my case, both are working at the same time. It’s kind of funny when you watch the character, but It does not do what I need. I would like to be able to switch between the animation and the Ragdoll activation.

Anyone had the same issue ?

By the way i’m using Unity 2018.3 release.

Thanks by advance.

You just need to disable the animator
GetComponent().isenabled = false;