Absolutely not.
In fact I would even feel betrayed a bit. It would mean that I never truly knew that person. A friend of mine for that long and only now I get to find this side of them? It would be SO HARD to stay friends with someone who is, say, transphobic, homophobic, etc. Probably because I find it so mind boggling as so why people are so hat......