I'm from the UK, but now live in post-Soviet EU country. Ten years or even five years ago it was seen as a "right of passage" to go work in the UK, then come home and buy a used BMW with your earnings, but Brexit and COVID really changed that (well, except car preferences). In my previous position I was working remotely for a UK company and working in a co-working space, and many people were there who had the same stories. They'd been working in the UK for a while, but wanted to come home, and the company let them continue to work remotely for the same salary.
COVID and IR35 threw another spanner into the cogs, so you started to see many more UK companies willing to hire people remotely, and at that point, why limit yourself to the talent pool in the UK? Late last year I talked to a recruiter who had placed a number of contractors with a London based food delivery company, and he said almost all new people he places are now based outside the UK, somewhere in Europe.
This has had a knock-on effect on salaries of local companies here. Sure you could get more working remotely for a US or Western European company, but the rates that are being offered now are on par with what 3 years ago would be a really good salary for a second rate city in the UK (Manchester, Bristol, Reading, etc). So why go to the UK, when you can get good salaries working from your home country, where the cost of living is much lower than the UK?