Does My Ex Get Custody of Our Child if I Die?

I was recently asked whether a parent could provide in her will for who would take care of her child if that parent died. She was concerned that the child's father was not up to adequately caring for the child. I had to let her know despite any provisions in a will, the other parent would normally b...