Problem with vertex snapping in the UV editor

I have a problem with snapping one vertex to another in the UV editor, when snapping is active and I try to move the vertex, it jumps completely off screen. There must be some setting that I missed.

Change the snap target to something like ‘Closest’

That solved the problem Thanx alot