Food inflation is 18-19% even higher than RPI. Some of that is Ukraine and getting fertilisers that were manufactured in Russia/Ukaraine etc and disruption to grain exports etc. But it is also that food costs more to transport to and from the EU because there is a lot more red tape and time needed to complete the trade. That pushes up prices....also known as inflation.
If you can not access a labor pool of 500m people in the EU, for example taking on people for the catering industry, chefs, waiters or nurses...etc. it pushes up wages because businesses become desperate to recruit people from the smaller available pool of people. Wage increases are the businesses' only option to attract staff in many instances, so this adds to inflation.
There are countries in the EU with similarly high food inflation like Germany, I don't think Brexit helps and has probably contributed to it but it's not the sole cause.
This is EU food inflation overall taken from https://tradingeconomics.com/european-union/food-inflation