Domestic violence significantly affects custody cases by prioritizing the child's safety, which may result in supervised visits or loss of custody for the abusive parent. Courts consider evidence such as police reports and witness statements to determine the best interest of the child, balancing visitation rights against the potential danger posed by an abusive parent. The impact on a child's mental health is also significant, as exposure to domestic abuse can lead to long-term emotional and psychological issues.