Where being gay is illegal around world
https://edition-m.cnn.com/2019/04/03/world/same-sex-laws-map-intl/index.html?r=https%3A%2F%2Fedition.cnn.com%2F
As you see the map, you will find that countries banning gays are roughly the same as those where Islam is the most popular religion.
It will also give bad impression to non-Islamic people.
Islamic extremists should think about how to modernize Islamic Law rather than sticking to Islamic Principalism.