Every time someone rings the doorbell it disconnects from wifi
As you mentioned this happening after a ring event, if you have a Doorbell Pro, this can be a sign of low power. For battery powered Doorbells, try charging the battery for several hours. If it is power related to a Doorbell Pro, the best next step will be checking the transformer or power supply rating. I hope this helps!