Have you ever dealt with one pupil dilating randomly?

Over the last few months my right eye has been dilating a lot almost every night, it’s made it hard to drive and see clearly. My left eye is completely fine though. I just saw an optometrist and she said some people just have that happen.
Have you ever dealt with one pupil dilating randomly?
Post Opinion