Most people would be completely fine with immigration if:
- it wasn’t so high
- they felt like had control over immigration policies
- immigrants weren’t granted special privileges that native citizens don’t have
- there were efforts to actually integrate people and push them to abandon their old cultures and values for the local ones
Any party or politician that offers this will gain a lot of support, without need of extremist, violent or racist rhetoric.