Snap doesn't work properly

What is it wrong with this snap ? snap to vertex is ON then i tried to snap to the corner of the other cube, but seems that it snap using different reference point. what’s wrong ?

Change the drop down next to the snap control from closest to active. It’s snapping the closest vertex to the point you chose… It’s working as it should.

Great ! … it works perfectly, Thanks.