"In the run up" meaning that Scalia died in February 2016, nine months before the election, and the very solemnly contemplative senator from Kentucky announced “The American people should have a voice in the selection of their next Supreme Court Justice. Therefore, this vacancy should not be filled until we have a new president."
It wasn't even in the "run up" to the election - Scalia died in early February. Garland was nominated in mid March. Obama had 10 more months in the Presidency (~23% of his presidency left when Scalia died and McConnell said we shouldn't fill a vacancy in an election year).