In the run-up to the referendum, on immigration immigration seemed key to the Leave campaign, who pushed in an irrational and emotional way. They correctly identified that people were sensitive to this.
There were scare stories that Turkey was about to be rushed into the EU and posters with an arrow from Turkey to the UK and the number “76 million”, strongly implying that vast numbers were queuing up to come to the UK. All that was missing was evidence.