I feel like this has almost never been true in big cities: it's impossible to know everyone and unless they made the news for what they did word wouldn't travel very far.
Besides that, I also haven't observed what you're describing in both the smaller communities and the cities I've lived in. People absolutely do still get socially ostracized all the time in real life.