I visited my husband mid December then while visiting him his father was announced brain dead so I ended up extending my stay till mid Feb .. I couldn’t leave him suffering by himself !!
I'm sorry for your loss.
Unfortunately, this is likely to have an impact on your application. Maybe someone more experienced can weigh in here.