Will still date your partner if they gain weight?

here's a question that I asked my friends about their opinions which was different from mine. I will appreciate if you share your thoughts about it.

Q1: Let's say you found someone and you decided to date. After few months or years they got fat. Would still date them or be with them? If no then why? If yes then why also.

Updates
+1 y
Let's say that they gain 50 pounds+ more like the years into relationship.
Will still date your partner if they gain weight?
Post Opinion