The girl swore she saw a man walk up the stairs, but when she followed him he had disappeared into thin air.
Idioms are phrases, sometimes exaggerated, that are used to describe something. It doesn’t literally mean what it is describing.
The sentence contains the idiom: “Disappeared into thin air” Which is impossible. But it is an idiom that means the man has completely disappeared all of a sudden.