Before, I would have never thought so. And I've had a tendency to be drawn to people who have issues (likely because I relate although I haven't been diagnosed with anything).
But. I have started to think about this quite a bit... Thought about how neither of my partners has any mental health problems and how neither of them can really relate on personal level to some stuff that feels normal to me (though they can understand it).... and how it is actually probably a good and healthy for me to have partnerships with healthy people.
So, I don't know if having issues, whether diagnosed or not, is a dealbreaker... maybe it is, or maybe it should be.