this is an interesting point, I often think about the precise nature of the similarities and differences between societal objections to LGB people in the past and to trans people today.
There is obviously the very significant difference, in relation to children and young people particularly, that accepting or declaring one’s same sex attraction, or acting on it, does not involve drugs or surgery. However, there is a degree of parallel with the way it was suggested in the past that a young person who ‘chose to pursue a gay lifestyle’ (possibly as a result of untoward, predatory influences) would catch AIDS or other diseases, or would be doomed to a life of loneliness, childlessness, and exclusion from normal society.
There is also no obvious similarity on same sex spaces, although I think it’s worth bearing in mind the way that gay people in the past were viewed as a potential threat in places like changing rooms where their (our) unnatural desires might pose a threat, or our presence might make others feel uncomfortable.