People could do their own research on what leave may entail. It's kind of an unfortunate aspect of life that you don't know every specific detail regarding an outcome before you do it.
Because of this people are often risk adverse and seek to keep the status quo, the fact that wasn't the case suggests people wanted change. Unfortunately many more mistakes have taken place since the referendum which will leave us as some sort of limbo state.