I will agree with you with respect to Canada, but there was extremely vocal opposition to Syrian refugees across multiple European countries. While yes, places like Sweden, Germany and England opened their doors, there were others such as Slovakia, Hungary, Serbia, Croatia etc. etc. who outright said no and closed their borders to them.
To reiterate, I think it's within a countries right to decide who to let in, and who they do not. As far as I have seen so far, no country has said "no" to Ukrainian refugees (and I think this is good - we should help if we are able). It's just ironic when a country like Hungary, whose president called migrants and muslims a "poison", are now welcoming refugees with open arms.
I think it's important to acknowledge that there is definitely an idea of "good vs. bad" refugee, which is often associated with skin color, ethnicity and religion. With that being said, there could be legitimate reasons for why people have these associations. The idea of cultural compatibility is an important one, and I understand why people would be less sympathetic to a group who refuses to assimilate, but is willing to accept social assistance, free health care etc.
It's one of the reasons why I understood when Ukranian border guards were discriminating against South Asian and African students (and males in particular). You come to the country to study, but when shit hits the fan, you want the first ticket out - of course people are going to be upset about that, particularly when they are sending their own citizens to die.