Snap after median is only median (don't snaps to closest)

There’s a video of the problem, can someone help me?

You’re in individual origins pivot mode. Switch that to median (ctrl+comma).

Also try to find a simpler way of describing the problem in the future. Showing the problem is only half of the story, people need a way of finding what causes it to give an answer and a .blend file is best for that. This time it was visible but encoding in that video is so bad that those options are almost lost in the encoding artifacts.