I think you gotta get dogs off leash. There are places where you have to leash them up, but I try to choose hikes & mountain bikes where I can let him run. This usually means I have to go to less popular, more out-of-the-way places (or just places where people are cool & not people who are insane dog scolders).
When hiking, my dog knows enough to stop when he sees someone on the trail ahead, allowing me to yell “do you want me to leash him up?” to the people before moving on. When mountain biking, he stays pretty close to me the whole time because he doesn’t want to miss out on the fun. I still stop when I see old people, kids, or other dogs, just in case.