Covid-19 infection can occur from airborne exposure to the virus only under certain circumstances. Transmission have occurred from infected people at a distance of more than 2m apart but in enclosed spaces with poor ventilation.
Please refer to the link below for more information.
Airborne transmission of SARS-CoV-2 can occur under special circumstances only.
Pathogens that are mainly transmitted through close contact (i.e., contact transmission and droplet transmission) can sometimes also be spread via airborne transmission under special circumstances. There are several well-documented examples in which SARS-CoV-2 appears to have been transmitted over long distances or times. These transmission events appear uncommon and have typically involved the presence of an infectious person producing respiratory droplets for an extended time (>30 minutes to multiple hours) in an enclosed space. Enough virus was present in the space to cause infections in people who were more than 6 feet away or who passed through that space soon after the infectious person had left. Circumstances under which airborne transmission of SARS-CoV-2 appears to have occurred include:
Enclosed spaces within which an infectious person either exposed susceptible people at the same time or to which susceptible people were exposed shortly after the infectious person had left the space.
Prolonged exposure to respiratory particles, often generated with expiratory exertion (e.g., shouting, singing, exercising) that increased the concentration of suspended respiratory droplets in the air space.
Inadequate ventilation or air handling that allowed a build-up of suspended small respiratory droplets and particles.
...covid-19 spreads “through the air by droplets and smaller aerosols” and notes that infectious particles can “remain suspended in the air for some time indoors, especially if there is no ventilation.”16 The government's main public safety messaging of “hands, face, space,” ... https://www.bmj.com/content/373/bmj.n1030