We know that light transits as there is energy transported from one part of the electromagnetic field to another and there is interaction between electric and magnetic object. We do not consider electromagnetic radiation to be electric or magnetic independently. You must also be aware that charged particles which are stationary are electric and those moving are magnetic in nature. So, charged particles cannot interact instantaneously and only a field of energy mediates the interaction.
So, you can consider that sunlight at a very small scale which is made of electromagnetic waves is slightly affected but in fact not visible to us.
Thanks & Regards,
Vasantha Sivaraj,
askIITians faculty.