A brief romantic relationship, especially with someone who is in a relationship with another person, or not one's regular partner.
A brief romance.
A capriccio.
An unpredictable or sudden condition, change, or series of changes.
An impulsive, seemingly unmotivated action, change of mind, or notion.
A disposition to be impulsive.