I worked on the problem for days, until finally one day something 'clicked' and I knew what I had to do.
This is the issue that has really 'clicked with' the voters this year.
The last piece of the puzzle 'clicked' [='snapped'] into place.