It is really a technicality and misunderstanding of the experimental procedure.
In the single shot "which way" experiment the detectors (i.e. observers) are positioned right behind each of the two slits.
See illustration from Huygens Optics excellent video, below:
You can clearly see above that the probability function collapses to a single point (light spot) just behind the two slits where the two detectors are positioned and the detection in the single shot "which way" experiments is performed. They never detect in this experiment the wave-particle at the far end distance where the screen is located and the probability wave function becomes spread out in space thus wave interference is taking place and an interference pattern is obtained at the end where the screen is located!
Then the two slit detectors results are compared with that of the far away from the slits screen detector and you get the famous misconception:
"Light behaves like a particle when observed but as a wave when not observed!!"
Which is a true statement but its context it totally misunderstood by most of the public and science media popularizers.
Photons or electrons (or even whole atoms) in the DS experiment properly done, always interfere when left to travel the distance to the detection screen. This is the wave-particle nature. Imagine the particle like a boat moving forward on still water and creating wave lines as it cuts through the water surface. The particle is not anymore a single localized moving entity but becomes a wave-particle that radiates and spreads out the wave distortion inside the environment it travels (i.e. air, full with molecules atoms and electrons or vacuum space which is not empty but full of a sea of virtual particles).
So, even in the single shot experiments of one particle at the time the laser photon for example which has a wavelength say of 600nm cannot pass through simultaneously the mm separated two slits but its radiated spread out EM waves caused inside the environment it travels, can! This radiated (spread out) wave energy is emitted behind the two slits and interferes. Thus the famous quote "the particle interferes with itself".
But what we mean by "the single photon radiates EM wave energy that spreads out into space"? What is this radiation consists of?
Answer: What most people don't understand is that a single photon travelling causes a cascade domino effect to electrons in front of it, which absorb the photon and re re-emit it to the next electrons in front and so on. Also virtual photons (i.e. the constitutes of electromagnetic flux) are generated in the process that spread around the photon constituting its radiated electromagnetic flux field which expands with time and is much larger than the photon itself. In a rough analogy, imagine a domino pyramid that starts cascade falling from its apex (i.e single photon in analogy). Yes, there is never a single localized to a small point photon. It is always surrounded by a spreading out uniformly in space, spherical wave of virtual photons flux that passes simultaneously through both slits!
gif source credits: https://ezgif.com/resize/ezgif-3-dda0d9fc6bf7.gif
Another misconception is that the wave probability function is dictated by the photon. This is not correct, the wave probability function (all the possible paths the photon can take) is dictated by its environment it travels inside. Meaning all the matter (i.e. atoms-electrons of air and apparatus used in the experiment) which are in the way of the photon.