The phrase "in spite of herself" is an idiomatic expression that means despite her own reluctance, feelings, or better judgment. It often describes a situation where someone does something or feels a certain way, not because they want to, but because circumstances lead them to.