Why did slings disappear from the warfare of Antiquity in the warfare of the Middle Ages?

by Onrack_the_Broken

Especially considering mail was the primary means of armor until the 12th century, why do slings seem to have vanished? Was it a gradual loss during late Antiquity that simply continued into the Middle Ages? Where were slings in the 6th-11th centuries?

Edit: What’s perhaps even more puzzling to me is that the same phenomenon happens in parallel in the Middle East. Were the same causes present there or is my understanding incomplete?

Holy_Shit_HeckHounds