I (sort of) realized I was wrong about homosexuality about four months before I started dating men
mostly I finally convinced myself that Mormonism had been really wrong about black people instead of sort of wrong about black people, so I shifted to uncertainty on homosexuality
it's a bit complicated because all of this was inseparably entangled with my leaving Mormonism, but I was never even a bit pro-gay while I was Mormon, and even afterwards I was pretty cranky about Obergefell for a while